request limit seems to return 200, not 429

Options
davet1
davet1 Explorer

X-Client-Session-Id: 6e8cdf96-0508-11e9-8014-525400a87d41_6328

This request received a response where the body looks like it is falling foul of the "too many concurrent requests" rule, but it received the status code of 200, not 429 as expected.

@{"@odata.context":"https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionResult","Contents":[],"Notes":["Extraction Services Version 12.2.39833 (738e4c2fbb28), Built Nov 1 2018 10:46:49\r\nProcessing started at 2018-12-27 08:45:47.\r\nUser ID: 9019523\r\nExtraction ID: 2000000056735414\r\nSchedule: 0x06761d89c41029a9 (ID = 0x0000000000000000)\r\nSchedule dispatched via message queue (0x06761d89c41029a9)\r\nSchedule Time: 2018-12-27 08:45:47\r\nInput List (45 items): (ID = 0x06761d89c41029a9) Created: 2018-12-27 08:45:47 Last Modified: 2018-12-27 08:45:47\r\nReport Template (11 fields): _OnD_0x06761d89c41029a9 (ID = 0x06761d89c43029a9) Created: 2018-12-27 08:45:45 Last Modified: 2018-12-27 08:45:45\r\nERROR: Extraction 0x06761d89c41029a9 failed because: 9019523 has 2 ET2 extractions, limit is 2\r\n"]}

Best Answer

  • Christiaan Meihsl
    Answer ✓

    @davet1, @Alex Putkov.1

    I did not test version 12.3, but just now I tested version 13.0, by running 4 simultaneous queries:

    • 2 queries successfully delivered data
    • The other 2 queries received a response with HTTP status 429 (Too Many Requests), and their body contained the following:
    {
    "error": {
    "message": "Failure reason: UserExtractionLimitExceeded: 33314 has 2 ET2 extractions, limit is 2"
    }
    }

    The issue has been corrected.

Answers