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.
Best Answer
-
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-0
Answers
-
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.
0 -
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.
0 -
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.
Thanks0 -
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:
- Checking the connection
- Checking the proxy and the firewall
- Running Windows Network Diagnostics
ERR_CONNECTION_RESET
https://api-worldcheck.refinitiv.com/v2/groups
This page isn’t workingIf 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.
0 -
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
0 -
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.0 -
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
0 -
@ANKUR SARASWAT
We have sent you a meeting invite, looking forward to speaking with you.0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 560 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 721 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛