While accessing API sometimes we are getting below error
- GatewayTimeout-Response status code does not indicate success: 504 (Gateway Timeout).'
2) Response status code does not indicate success: 500 (Internal Server Error).
PFB request and response log errors in detail and timelines for point 2 and 3 as mentioned in below mail.
response:- StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Connection: keep-alive
Access-Control-Allow-Headers: authorization, content-encoding, content-length, content-type, x-tr-requestid, x-tr-correlationid
Access-Control-Allow-Origin: *
Cached: 1
Node: PRD2-228
X-Amzn-Trace-Id: Root=1-66960308-4267daac4aa370e93fdc6b40
X-Served-By: region=ap-southeast-1; cid=8d2823c88efa461c8c622576b77adaf9
X-Tr-Requestid: 1f3abc40-47ad-4efd-8b88-45077280bb75
Date: Tue, 16 Jul 2024 05:20:08 GMT
Content-Length: 264
}
request:- Method: POST, RequestUri: 'https://api.refinitiv.com/data/funds/v1/assets', Version: 1.1, Content: System.Net.Http.StringContent, Headers:
{
Accept: application/json
Authorization: Bearer eyJhbGciOiJSUzI ***** Yiwg6nQpg
Content-Type: application/json; charset=utf-8
Content-Length: 549
}
content:-{
"properties": [
{
"name": "prices",
"filter": "",
"period": {
"endDate": "2024-07-16",
"startDate": "2023-07-17"
}
}
],
"universe": {
"symbols": [
"40000700","40000704","40000708","40000713","40000714","40000720","40000723","40000734","40000736","40000738"
]
}
}
Can you please check and confirm why are we getting this error?