In Freshworks CRM, we have a custom app ,in that i am facing a CORS Policy error.
I need to read the file from S3 bucket and display the file content in front end app.
While accessing the file url i m facing cors policy error.
In s3bucket team has provided access to this url https://d3h0owdjgzys62.cloudfront.net but still facing issue.
Kindly help on this.
Welcome to the Freshworks Developer Community… ![]()
To avoid a CORS error, please use the request method to make an API request to your S3 bucket. I hope this will help you make a successful API request to your S3 bucket. Please let me know if you need further assistance in this matter.
We have written an article on this topic. Please check it out and take relevant action.
Thanks, team, for your response.
However, using the request method, we get a JSON response.
Freshworks request does not handle the attachment.
I want the response in binary format, which is why I have used the fetch method.
