XMLHttpRequest cannot load

  • 1
  • Question
  • Updated 2 years ago
  • In Progress
XMLHttpRequest cannot load https://mydev--devws1.cs67.my.salesforce.com/BoothPicklist?accountId=0010n000003gM5OAAU&eventId=.... Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mydev--devws1--skuid.cs67.visual.force.com' is therefore not allowed access.

Need help on this? If someone has faced the similar issue.
Photo of Aishwarya


  • 330 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
Hello Aishwarya,

Can you provide any more specific information? Unfortunately, what you're describing isn't enough to provide a solution to. I need to understand the problem to attempt to come up with a solution.
Are you having trouble connecting two pages within the same org? Why are you expecting to see and why are you expecting to see it?
Photo of Aishwarya


  • 320 Points 250 badge 2x thumb
Actually there is a Template on my skuid page in which I am adding some values in a picklist using the visualforce page. If you view the attach image , there is an error on the line no 23.
Photo of Arne-Per Heurberg

Arne-Per Heurberg

  • 2,488 Points 2k badge 2x thumb
I run into same with APEX rest resource called from.snippet. Using sessionId as bearer and access-control-allow-origin *. Sandbox instance white listed, force.com white listed. If better as separate question just letme know. Thanks for all you do.