Code 400 Validation error
Sunday, November 24, 2019 at 11:04pmHi
I created two procedures in the same package which includes REST API. One procedure includes rest api to attach a report say ABC and in 2nd procedure another report XYZ is attached to esign portal.
My first procedure is working fine but in second procedure the following error shows:
{"technical":"","messageKey":"http.status.400","packageId":null,"messageLanguage":null,"parameters":{},"entity":null,"message":"Validation Error","code":400,"name":"Validation Error"}
When I try to run the 2nd procedure as a script, it works perfectly.
Also, the two procedures cannot run at the same time based on the requirement. The only difference in both procedures is the pdf attachment and json content.
Reply to: Code 400 Validation error
Monday, November 25, 2019 at 04:08amReply to: Code 400 Validation error
Monday, November 25, 2019 at 08:49pmReply to: Code 400 Validation error
Tuesday, November 26, 2019 at 01:43amReply to: Code 400 Validation error
Wednesday, November 27, 2019 at 07:40pmReply to: Code 400 Validation error
Wednesday, June 17, 2020 at 01:01amHi Duo,
Getting the below error while executing integration program:
{"code":400,"packageId":null,"messageKey":"http.status.400","technical":"","messageLanguage":null,"parameters":{},"entity":null,"message":"Validation Error","name":"Validation Error"}
This error is occurring for some records only. I have also checked the data passed into JSON. Everything seems to be okay.
Unable to find the cause. Kindly help.
Reply to: Code 400 Validation error
Wednesday, June 17, 2020 at 09:16amHi Tejaswi,
Did it consistently fail to create a package, for those records + JSON combinations? Could it because the passed in data somehow broke the JSON format, like include unexpected double quotation marks?
Could you remove sensitive information and send your payload and the PDF to [email protected] so that I can have a closer look at them? (because I saw you were using text anchors to put fields, so it could be necessary to check the PDF as well) Or if you preferred to do it at your end, you could easily test your PDF and payload using API Clients like Postman, a desired result is that we can reproduce the 400 error.
Duo