HTTP response code: 401 for URL: https://api-worldcheck.refinitiv.com/v2/cases
I am trying the API via a java programm. I've got this answer from the server for only 7 records in my database.
They present special characters as well as other records that were accepted (using exactly the same code)
The clock should be also synchronized
I used the answers provided in the forum in order to input names with special characters. It works for all records (also containing special characters) but not for this 7 records
Example that does not work:
{"groupId":"5jb6vhs4m9iv1gjs49dj8nwxu","entityType":"INDIVIDUAL","providerTypes":["WATCHLIST"],"name":"PIULACHS ALTAYÓ MARÍA TERESA","nameTransposition":"true","secondaryFields":[{"typeId":"SFCT_1","value":"FEMALE"},{"typeId":"SFCT_2","dateTimeValue":"1959-03-02"},{"typeId":"SFCT_4","value":"ESP"}],"customFields":[{"typeId":"5jb81n2w8eu01gjs4bubmqdlf","value":"QAM_2e727550-9816-32cf-9a61-618166f9010b"},{"typeId":"5jb81n2w8eu01gjs4bubmqdlg","value":"Contacts"}]}
Example that works
{"groupId":"5jb6vhs4m9iv1gjs49dj8nwxu","entityType":"INDIVIDUAL","providerTypes":["WATCHLIST"],"name":"PIULACHS ALTAYÓ MONTSERRAT","nameTransposition":"true","secondaryFields":[{"typeId":"SFCT_1","value":"FEMALE"},{"typeId":"SFCT_2","dateTimeValue":"1929-04-30"},{"typeId":"SFCT_4","value":"ESP"}],"customFields":[{"typeId":"5jb81n2w8eu01gjs4bubmqdlf","value":"QAM_54ea6be1-df05-4a22-f8bc-6181673e5a8d"},{"typeId":"5jb81n2w8eu01gjs4bubmqdlg","value":"Contacts"}]}
Have you got an ides what can be wrong ?
I've already checked the clock synchronization.
There no more than 30 seconds delay between creation the hmac authorization and sending the file
I've used the same code for both requests
Names are written in UTF-8
Regards
Answers
-
Hi @grepossi, thank you for reaching out to us! I appreciate you listing out the reasons above as why you don't think the 401 is occurring; however, I'd still like to see your full request and response body and payload. You can send a screenshot if it's easier for you. Please remove your API key since this is a public post.
Best,
Judith
0 -
Body:
{"groupId":"5jb6vhs4m9iv1gjs49dj8nwxu","entityType":"INDIVIDUAL","providerTypes":["WATCHLIST"],"name":"HEJAL SAÏD","nameTransposition":"true","secondaryFields":[{"typeId":"SFCT_1","value":"MALE"},{"typeId":"SFCT_2","dateTimeValue":"1979-12-19"},{"typeId":"SFCT_3","value":"LUX"},{"typeId":"SFCT_4","value":"FRA"},{"typeId":"SFCT_5","value":"CAN"}],"customFields":[{"typeId":"5jb81n2w8eu01gjs4bubmqdlf","value":"QAM_db0953b8-a7db-894b-d479-5b55a44187d0"},{"typeId":"5jb81n2w8eu01gjs4bubmqdlg","value":"Contacts"}]}
Normally the code is executed in java. I've done the examples manually
Regards
0 -
Thank you for providing that, @grepossi! I will email you directly to figure out the next steps.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛