Support Article
Third party site is unable to access REST service in PROD
Summary
User is hosting a REST service. External website is unable to call this through AJAX and they are receiving error with production environment.
Error Messages
Response to preflight does not pass access control check,'Access -Control-Allow-Origin' header is present on the requested resourceSteps to Reproduce
Not applicable
Root Cause
A defect or configuration issue in the operating environment where user's Production environment is on Pega 7.2.1 and developer environment is on Pega 7.3.1
Note that support of Pre-Flight Requests Failing for custom APIs have started Pega 7.3 onwards.
Resolution
Here’s the explanation for the reported behavior: Upgrade the environment to Pega 7.3 or later releases.
Published July 26, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.