question

Upvotes
Accepted

Error message: Failed to fetch

I am getting "Error message: Failed to fetch" when using the endpoints below. Content Team confirmed that data is available.


https://api.refinitiv.com/user-framework/mobile/fund-service/v1/fund/top-holdings/LP40189339

https://api.refinitiv.com/user-framework/mobile/overview-service/v1/fund/top-holdings/LP40189339

1638438594547.png


rdp-apirefinitiv-data-platformrdp
1638438594547.png (276.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

<AHS>

Case #10741457 is canceled with "Duplicate of 10721678" resolution.

Case #10721678 status is closed with the following resolution

As confirmed by our technical team, we are going to provide the fix in next coming up version which I expect the release should be done early next year since now we’re close to global change restriction. Internal will be directly advised via the email thread. 

The fix is not released yet, so I am not sure why the front-line team has closed the case.

Hello @Michael Ronald Cortez.Espinosa

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hi @Michael Ronald Cortez.Espinosa ,

There seems to be an issue with browser when using this in the API playground. Seems like this RDP endpoint does not correctly implement the OPTIONS request, which is causing it to fail in the browser.

You can however try and get data from this using the following python code:

import http.client

conn = http.client.HTTPSConnection("api.refinitiv.com")
payload = ''
headers = {
    'Authorization': 'Bearer eyJ0eXAiOiJhdCtq....X_tEfBA'
}
conn.request("GET", "/user-framework/mobile/fund-service/v1/fund/top-holdings/LP40189339", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))


I will raise a service ticket for this issue.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Raised a service ticket #10741457

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.