For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
3 2 2 5

Need assistance on integrating with World Check One API

Hi All,

We are integrating with World Check One API using javascipt, through which we will be sending requests with the help of XMLHttpRequest Functions.

Here, I am facing below mentioned issues while integrating with World Check One v2.43 API -

1) setting dataToSign variable,

2) correct latest currentDate variable in required Format, and

3) getting "Uncaught ReferenceError: CryptoJS is not defined error".

Can you please help me with my above issues?

Thank You for your valuable time in advance.

world-checkworld-check-onescreeningscreener
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
1.4k 5 2 2

Hi @ANKUR SARASWAT

The Reported Error Normally occurs When Server Doesn't return the HTTP Headers required by the CORS Standard. Kindly Reconfigure the API to meet the CORS Standard and Enable CORS for Rest API.

Below link has the solution for CORS error
https://community.developers.refinitiv.com/questions/33169/access-control-allow-origin.html

For more details please refer: https://ionicframework.com/docs/troubleshooting/cors#what-is-cors-

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 2 5

Hi All,

Resolved above mentioned issues by incorporating proper format for both the variables (Issue #1 and #2). Also, resolved Issue #3 CryptoJS error by including its relevant <script></script> tag after referring its CDNJS link for the latest version.

Now, I am facing "Access to XMLHttpRequest at 'https://api-worldcheck.refinitiv.com/v2/groups' from origin 'null' has been blocked by CORS policy" error.

Can you please help me with this CORS Error?

Thank You for your valuable time in advance.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 2 5

Please help. I am still not able to resolve this issue. Referred below mentioned links as well -

https://community.developers.refinitiv.com/questions/33169/access-control-allow-origin.html

None of this is working for me. Error message - Access to XMLHttpRequest at 'https://api-worldcheck.refinitiv.com/v2/groups' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
1.4k 5 2 2

Hi @ANKUR SARASWAT

Thanks for your query!

Please be informed that, currently, we are looking into your query. We will get back to you shortly.

Thanks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 2 5

Hi @Vivek Kumar Singh,

Thank You for your valuable inputs.

I am able to bypass that CORS Error and successfully make API Calls via Firefox Browser. Basically it was not able to bypass CORS via Browsers using XMLHttpRequest() function and none of the Browser Extensions to disable CORS were working for me. So instead I tried with fetch() function and it seems to be working now using mode: "no-cors" property. I am getting 200 Status Responses in Firefox.

Just wanted to confirm what's the ideal behavior for these links. Right now we are getting below responses -

https://rms-world-check-one-api-pilot.thomsonreuters.com/v2/groups

This site can’t be reached

The connection was reset.

Try:

ERR_CONNECTION_RESET


https://api-worldcheck.refinitiv.com/v2/groups
This page isn’t working

If the problem continues, contact the site owner.

HTTP ERROR 401


Can you please share some more insights on that? Thank You for your valuable time and support.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 2 5

Hi @Vivek Kumar Singh,

If possible, then can we please have a short meeting in this week to discuss my doubts? That will help us a lot in resolving our queries.

Thank You for your valuable time and support.

Regards, Ankur Saraswat

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
1.4k 5 2 2

Hi @ANKUR SARASWAT

We request you to kindly let us know the best available time so that we can schedule a call. Please note: we are available 09:00-18:00 IST (Mon-Fri)
And also let us know if ansarasw@visa.com is your email address.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 2 5

Hi @Vivek Kumar Singh,

Thank You for considering my request.

Even I work in IST Time Zone, so that should not be an issue. You can go ahead and schedule the meeting as per your availability and convenience within this week itself, if possible. And yes, ansarasw@visa.com is my email address.

Have a nice day.

Regards, Ankur Saraswat

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1.4k 5 2 2

@ANKUR SARASWAT

We have sent you a meeting invite, looking forward to speaking with you.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.