Errors API endpoints

Comments

7 comments

  • Jason Haslow

    Is there a maximum size for the errors array in the PUT body of the /resolved endpoint?

    Similarly, is there a max size for the retryDataKeys array in the POST body of the /retry endpoint?

    0
  • Bhavik Shah Senior Product Manager
    Answer Pro
    Great Answer

    Jason Haslow No such max limit is defined however the standard platform limit of 5MB applies to any API requests. Hope this answers your question. 

    0
  • Jason Haslow

    It does, thank you very much.

    0
  • Cole Seymour

    What is the format for the body of the PUT call on the /data endpoint? The body in the postman collection is empty. I have tried with an unnamed object that contains the updated error data but it updated the error data to be blank. 

    0
  • Naveen Venkatesh Senior Product Manager

    Hi Cole Seymour,

    The request body sample is not provided in the collection for the PUT api. What you can do is do a GET for /retry data and use the response in the PUT api body. 

    Please let us know if you need any further assistance

    0
  • Cole Seymour

    Hi Naveen, 

    Thanks for looking into this. For anyone wondering, ended up naming the object "data" and it updated correctly. The GET for the /data endpoint returns the below body:

    {
       "page_of_records": [
          {
             "record": {
                "childIndex": null,
                "data": {errorDataHere},
                "pathToMany": null,
                "oneToMany": false,
                "retryDataKey": "...",
                "stage": "page_processor_import",
                "traceKey": null
             }
          }
       ]
    }
     
    ...But what ended up working for the PUT call was this format:

    {
      "data": {{{jsonDataHere}}}
    }

    1
  • Naveen Venkatesh Senior Product Manager

    Thanks for sharing Cole Seymour

    0

Please sign in to leave a comment.