Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Third party site is unable to access REST service in PROD

SA-56794

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 resource

Steps 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us