Backend error 400
Hello , Backend error 400
I downloaded the java example, where rms-world-check-one-api-pilot.thomsonreuters.com is modified to api-worldcheck.refinitiv.com and change V1 to v2
Here are my code and specific parameters
How to solve it
Best Answer
-
is the date hardcoded? if it is it shouldn't be, it should be passed in the below format
Date now = new Date();
//format for date string Mon, 27 Mar 2017 15:19:36 GMT
DateFormat df = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss z");
df.setTimeZone(TimeZone.getTimeZone("GMT+3"));
String date = df.format(now);Can you send me the code via email to mehran.ahmedkhan@refinitiv.com? and also let me know your availability for tomorrow? we can jump on a quick meeting and get this resolved.
0
Answers
-
Hi,
I wasn't able to locate the associated account with your username.
Can you state your account name, please? basically the name of the account to which the API key and API secret belongs to that you are using in the java code.
0 -
Customer id A-01399622
linked to account 4186992
I don't know which of the above two is
On postman, I can use the sample to send the request successfully.
However, in the code, the reply to the request is backend errors 400,
I don't know what's wrong
0 -
Thanks for the details, I can see your account now.
Can you attach the code that you are using here? We would like to take a look at it and get back with our comments and we can probably jump on a quick call if needed post that.
0 -
The code file cannot be uploaded
0 -
This is the specific value of the variable in the code
Will it be related to that date?
I'll run this code again today, and the response is 401
0 -
The problem has been solved
It's a date formatting problem
Because my side is China, The formatted date is in Chinese
I convert the corresponding Chinese into English, and then send the request
The response is successful and the response becomes 200
0 -
Happy to hear that, thanks for updating us back, and if you have any other queries feel free to raise them on the forum.
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 中文论坛