Jump to content

Malformed request when creating an invoice


 Share

Recommended Posts

I've been creating invoices through the api now for a few months without issue. We just had a failure and all we get back is MalformedRequestBody.

This invoice is bigger with more line items than previous, so I played with that. There are 16 line items and the full request body is about 10700 characters. I sent the request with the 1st 13 and it worked. Any more than that fails. I've lost my window to test and would have like to just add the last 3, but can't now. I did scour the json request, though and saw no issues and the full json request shows as valid in a linter.

I'm wondering if I'm hitting a limit of some kind. Can anyone let me know if the number of line_items or characters is an issue or possibly any way to get more detail on what the problem with a request body is?

Link to comment
Share on other sites

Hi Ray,

Thank you for your post. You've posted in the General lobby without mention of the Sage product you are integrating with.

If you can provide the name of the product and information relating to the error we'll be able to help/guide you better.

Thanks

Mark

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...