I have uploaded the script files to my project`s directory. Accordingly, I have made changes to load path in the JavaScript snap. It’s not the file location issue. The JavaScript snap was able to find the dependencies, which are hmac-sha256.js, enc-base64-min.js. But, when reading hmac-sha256.js file, I am getting the below error at line 16.
Cannot read property “HmacSHA256” from undefined in sldb:/hmac-sha256.js at line number 16, Resolution: Please fix the script file error at line: 16 column: -1
I am not sure, how hmac-sha256.js will initialize HmacSHA256 property. Am I missing something here?
Currently, I can be able to upload only two files as new user to SnapLogic per discussion. enc-base64.txt (3.7 KB) hmac-sha256.txt (453 Bytes) Please find hmac-sha256.js, enc-base64-min.js files.