"Extractions/ExtractWithNotes" - 429 Error
Hello Team,
We are running "Extractions/ExtractWithNotes" with ON Demand Approach for End of Day Pricing data. As per the Document BEST PRACTICES & FAIR USAGE POLICY(DOCUMENT VERSION 7.0) we can run 2 concurrent runs for this API and 30 hits to the API in a minute.
But then too its giving 429 Status code, after few chunks run.
Could you please help and guide on this issue.
Thank you!!
Best Answer
-
Hi @trisha.gehlot,
I won't be able to confirm which of the data or request limits are getting breached, since we don't have access to the DSS server logs. Your app is exceeding some limit for sure - and hence getting the HTTP 429 status response.
So, there are two options in this case -
1. Throttle the requests in your application - add a delay timer to pace out the requests one after another.
2. Raise a service ticket at my.refinitiv - where the product team can inspect the server logs and advise what caused the server to reject the request.
1
Answers
-
Hello @trisha.gehlot,
HTTP 429 is too many requests. The REST API threshold limits are defined in the Fair Usage Policy document (current version is 8.1), and the on-demand extractions seem to be limited to 30 concurrent requests. There are other limits that apply besides concurrent requests (like concurrent processing limits), which might also be coming into play here.
The guide also suggests using Scheduled extractions instead, if possible.
0 -
@Gurpreet Thank you so much for your response!!
I checked the Document, and it states that -
EOD Pricing| 75,000 Before Expansion; 250,000 After Expansion| 50 | 2And we are not exceeding the limits given above.
The details of our run -
For Example -
Instruments = 852
After Expansion = 454504So we have applied batch processing, 500 instruments per batch with 2 batches in parallel.
So there is 455 tasks to run,
with 1 task - 2 batches in parallel, with 500 instruments each.After running 4-5 tasks it raises 429 error.
Could you please have a look and guide!
Many Thanks!!
0 -
Also with large amount of instrument schedule extraction was not possible, and so need to apply On demand Approach.0
-
Also below is the request body, if that helps in guiding -
'{"ExtractionRequest": {"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.PriceHistoryExtractionRequest", "ContentFieldNames": ["RIC", "Exchange Code", "Exchange Description", "Trade Date", "Expiration Date", "Underlying RIC", "Underlying Security Description", "Asset ID", "Asset Status", "Asset Status Description", "Asset Type", "Asset Type Description", "Asset SubType", "Asset SubType Description", "Issuer Name", "High Price", "Low Price", "Trade Price1", "Official Close Price", "Accumulated Volume Unscaled", "Volume", "Last Trade Price", "Open Price", "File Code", "Currency Code", "ISIN", "Strike Price", "Put Call Flag"], "IdentifierList": {"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [{"Identifier": "InstExample", "IdentifierType": "Ric"},......So on identifier lists]}}0 -
Ohh ok, sure, might be will try both options you provided.
Thank you!! @Gurpreet0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛