DSS REST API error message: «ThomsonReuters.Dss.Api.NotFoundException: ExtractedFile of id 'VjF8f...

...DQxMjQ5NDIxNw' not found».

Hi All,

one of my clients is experiencing an error message: «ThomsonReuters.Dss.Api.NotFoundException:
ExtractedFile of id 'VjF8fDQxMjQ5NDIxNw' not found». when trying to fetch the actual file after running "extractionsContext.LoadProperty(reportExtraction, «Files»" command. It appears only when there is a partial file present (i.e. the files named Intraday.5min.csv /
Intraday.10min.csv / Intraday.15min.csv). Obviously
the file id varies and the error does not pop out every time.

Can you please advise?

Best Answer

  • @lukasz.ossowski, I received an answer from the dev team:

    The Get Request was performed 840 milliseconds before the file
    was available. That would explain the
    later Request completing successfully.

    So it seems there was sort of a race condition ... maybe the customer should just add a pause of a few seconds between the time the extraction is labeled "complete", and the moment he attempts to retrieve the file, that should solve it.

    Side note: this makes me wonder if the customer is polling the extraction status (to find out when he can retrieve the files) at too short an interval ? The polling interval should be reasonable, I'd say 30 seconds or more, see page 8 of the best practices document.

Answers