question

Upvotes
1 0 0 0

Permid instrument RSS feed returning internal server error for last page

To reproduce

1. Perform a GET on https://api.thomsonreuters.com/permid/atom/instrument then

2 Perform another GET on the last href link https://api.thomsonreuters.com/permid/atom/instrument?offset=200&length=11

Expected response: data

Actual response: internal server error with header "error: java.lang.IllegalArgumentException: fromIndex(200) > toIndex(108)"

Please can a fix be provided for this issue.

intelligent-tagging-apipermid-apiopen-permid-api
permid-error.png (52.4 KiB)
icon clock
10 |1500

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

Hello @mickfold,

The product is working on the fix, we will keep you informed when it is deployed.

1 Answer

Upvotes
23k 22 9 14

Hello @mickfold,

For now, to obtain the last page, try

https://permid.org/atom/instrument?offset=200&length=50 

Or skip length parameter

https://permid.org/atom/instrument?offset=200

In addition, I will bring this to the attention of the relevant group for investigation.

icon clock
10 |1500

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

Click below to post an Idea Post Idea