Go to All Forums

Issue in access data through site24x7 API with Javascript and Ajax.

Hello,

I am getting below error when calling site24x7 API using Javascript:

Access to XMLHttpRequest at 'www.site24x7.com/api/current_status?apm_required=true&group_required=false&locations_required=false&suspended_required=false' from origin "xxxx" has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Please help

Like (2) Reply
Replies (3)

Hi,

   Thanks for coming to our community. Our team is working on this to narrow down on the exact problem if any. Will keep you posted. 

-Jasper

Product Manager, Site24x7

Like (0) Reply

Thanks for your reply.

Now I am getting another error as "Invalid_Client". I am posting data as JSON.

Please help.

Thanks,

Like (0) Reply

Hi, 

  Can you post the script/ code snippet with which you are trying to call our API?

Please remove the secret keys and tokens.

 

-Jasper

Product Manager, Site24x7

Like (0) Reply

Was this post helpful?