[FREE WEBINAR] 3 Ways ESM in Freshservice helps in Returning to Work | 10 AM PST | 11 AM AEST | 11 AM CEST - 10th Sept SAVE YOUR SEAT

Start a new topic

Freshdesk App can work with AWS Javascript SDK?


I am just getting started to develop a freshdesk app project using AWS Javascript SDK. Before getting further, I have followed the instruction from AWS to simply include <script src="https://sdk.amazonaws.com/js/aws-sdk-2.7.20.min.js"></script> in template.html

and simply created an object var s3 = new AWS.S3(); or  var s3 = new window.AWS.S3(); in app.js for a test.

However, it returned  "Uncaught ReferenceError: AWS is not defined" OR "Uncaught TypeError: Cannot read property 'S3' of undefined" in console log when I tried to run it from browser.

May I know any limitation or need any attention to work with AWS Javascript SDK?


We have sometimes noticed a timeout issue while loading scripts. As a workaround, could you try jQuery.getScript to load the script?

Login or Signup to post a comment