Hi Team,
We are using the ‘.Net SDK Code based: On Demand extract features with large Entity Identifier List (7000), 22 attributes and 16 rating source.
But we are not able to generate response file with .Net SDK code and getting the below error :
“ThomsonReuters.Dss.Api.TooManyRequestsException: 'Too many requests for resource. Resource 'Extractions', Attempted '6956', Maximum '1000', Reservation Id (tracking number) ''
Anyone Could share any sample code so that we can resolve this ASAP.
Sample Code :
public ExtractionResult CreateRatingyExtraction (
EntityIdentifier[] instrumentIdentifiers, string[] contentFieldNames, RatingsCondition condition)
{
//Create an on demand extraction, of type CompositeExtractionRequest:
// LegalEntityHierarchyExtractionRequest extractionEod = new LegalEntityHierarchyExtractionRequest
RatingsExtractionRequest extractionEod = new RatingsExtractionRequest
{
IdentifierList = EntityIdentifierList.Create(instrumentIdentifiers),
ContentFieldNames = contentFieldNames,
Condition = condition
};
//Run the extraction.
//This call is blocking, it returns when the extraction is completed:
return extractionsContext.ExtractWithNotes(extractionEod);
}
Thanks,
Mithun