For a deeper look into our World Check One API, look into:
Hi Dear all,
Can anyone help me to resolve this issue ?. I am using Angular 10 to retrieve data by World Check One API. All requests have been blocked by CORS policy then I disabled security on browser (for testing purposes) and requests are returning error 401.
Note that in postman, all requests passed.
Looking forward any suggestions. Thanks in advance for your help.
Hi,
I checked the logs to see if the request is hitting our servers and I can confirm that the last request that hit our servers from your keys was on 21st December and the 401 that you observed yesterday didn't reach our servers.
we suspect there is still an issue with the CORS on your side which may be blocking certain requests, can you check the code for any CORS issue?
Also, I would like you to hit a request bin target whose details I will send across via email so that I can capture all the details about the request that you're sending to check if there are any issues.
Email to follow.
Can you share the complete request and response header of the failed API call so that we can investigate it further?
401 errors occur because the request has failed an authorization check. This can happen for a variety of reasons, such as
@Mehran Khan thanks for your response.
API_KEY_VALUE and API_KEY_VALUE are replaced by their value. these ones are hidden here for security reasons.