Freshdesk App can work with AWS Javascript SDK?

  • 20 January 2017
  • 1 reply


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=""></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?

This topic has been closed for comments

1 reply

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