Maximum json message size?

Some Datascope REST API requests use lists of parameters. Sometimes we need to pass many items and your server breaks the connection (the request size was 7430360 bytes). So the question is: what is maximum size of the message supported by json parser on your side?


Best Answer

  • Hello @antonzhelbakov ,

    Unfortunately, we have not heard back from you and were unable to proceed in the discussion.

    I am closing this thread, if you have further questions- please open a new thread.

    Thanks,

    -AHS

Answers

  • Hello @antonzhelbakov,

    Quick confirmation, to better understand the question:

    • What request type are you using?
    • How many items are you trying to pass into the request?

    Aiming to be sure that your request is within DSS Extraction Limits otherwise you may not be able to submit the required request and may need to chunk it similar to DSS Streaming design approach.

  • Different requests, e.g. 12000 identifiers for the following request do not work (6000 work fine):

    ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ElektronTimeseriesExtractionRequest

    Using your link for DSS extraction limits I cam see that mostly limits are 30k and bigger. E.g. for Elektron Timeseries.

  • Hello @antonzhelbakov,

    Thanks

    • Does the same large request fail consistently for you, or intermittently?
    • How exactly does the failure manifest, please provide any info/screenshots?
    • Are you able to provide a Postman request or a concise excerpt from code for us to try the same on ours side to see if we reproduce the same issue?