XMLHttpRequest cannot load

AishwaryaAishwarya Member
edited March 2019 in Questions
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.

Comments

  • Stephen SellsStephen Sells Member
    edited October 2017
    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?
  • Arne-Per HeurbergArne-Per Heurberg Member ✭✭
    edited March 2019
    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.
  • AishwaryaAishwarya Member
    edited October 2017
    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 imageview the attach image , there is an error on the line no 23.
Sign In or Register to comment.