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
- 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
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛