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 512.0 KiB each and 1.0 MiB total.

Hello @mickfold,

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

1 Answer

Upvotes
29k 33 11 15

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 512.0 KiB each and 1.0 MiB total.