Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why does quickbooks.api.intuit.com/v3/company/<realm>/upload?minorversion=45 returns: "Maximum line length limit exceeded"

we are sending the following multipart request:

--BYhJbicYjpSMGwjH
Content-Type: image/jpeg
Content-Disposition: form-data; name="file_content_01"; filename="8.thumbnail.jpg"
<base_64_file>
--BYhJbicYjpSMGwjH--

to
quickbooks.api.intuit.com/v3/company/<realm>/upload?minorversion=45
but we are getting back:

{
    'Fault': {
        'Error': [{
            'Message': 'An application error has occurred while processing your request', 
            'Detail': 'System Failure Error: Maximum line length limit exceeded', 'code': '10000'
        }], 
       'type': 'SystemFault'
    }, 
    'time': '2020-03-11T04:13:44.324-07:00'
}
like image 312
yonatan Avatar asked Nov 27 '25 11:11

yonatan


1 Answers

adding a new line before the <base_64_file> solved the issue.

like image 80
yonatan Avatar answered Dec 02 '25 01:12

yonatan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!