CORS issue: Survey Editor and Library on a different subdomain from the actual survey and preview | XM Community
Skip to main content
Question

CORS issue: Survey Editor and Library on a different subdomain from the actual survey and preview

  • February 25, 2022
  • 2 replies
  • 76 views

I am using my organization's account to make a survey. I have images and JSON files stored in the Survey Library that I am importing using JavaScript (jQuery.get(...)).
However, the Survey Editor and Survey Library are on xxx.ca1.qualtrics.com while the Preview and published survey are on xxx.qualtrics.com. Hence, I am unable to access the files when publishing the survey (the preview within the editor works just fine) due to the following error:
"... No 'Access-Control-Allow-Origin' header is present on the requested resource."
How do I fix this?

2 replies

Aanurag_QC
QPN Level 5 ●●●●●
Forum|alt.badge.img+31
  • February 25, 2022

Hi shehryar_37 The only option I can see is if you can import the survey in the xxx.ca1.qualtrics.com which you can easily export as .QSF from the other instance.


Forum|alt.badge.img
  • January 20, 2023

Did you find a solution to this after all?
I am experiencing the exact same issue.