adammw / zendesk-pdf-viewer

View PDFs in your Zendesk Tickets
Apache License 2.0
0 stars 0 forks source link

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. #3

Open Sarapulov opened 8 years ago

Sarapulov commented 8 years ago

Trying this app and received the following error:

Console

XMLHttpRequest cannot load https://SUBDOMAIN.zendesk.com/attachments/token/VERY_LONG_TOKEN_GOES_HERE/?name=FILE_NAME.pdf. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

Console > Network tab

Request URL:https://cors-anywhere.herokuapp.com/undefined
Request Method:HEAD
Status Code:404 Invalid host

Replications steps: (error message show up on app load. Using replication steps to demonstrate the fact i've tried more manual approach here without any luck)

Environment:

globsecure commented 8 years ago

+1