This error occurs when the total number of lines in the cXML invoice exceeds the max number of lines allowed in the customer's setup in Coupa.
This error only occurs with direct connections. It does not happen when using RestClient.
How do I fix this?
To resolve this error, the customer must increases the max number of lines, or the supplier must send multiple files with unique invoice numbers.
The total number of lines in the cXML file must be equal to or less than the max number of lines allowed in a single file.
<Status text="Expectation Failed" code="413">Request Entity Too Large</Status>