Adding CORS headers to Robotic Runtime response

Hi everyone,

When I try to execute an automation from Pega application I get the following error:

XMLHttpRequest cannot load https://hostname1:9443/api/v1/runtime/IsAvailable. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://hostname2' is therefore not allowed access.

How can I add the required header ? Is there any other solution ?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

August 11, 2017 - 3:52pm

Can you ensure that you're communicating with the server to make sure these are getting passed correctly?

August 16, 2017 - 3:28am
Response to grona

Hi grona,

Yes, when I open the URL in a separate browser tab I get "Runtime REST service is available" message.

November 21, 2017 - 4:59am


Did you solve the issue? I am facing the same issue here. 

Best regards,