为什么quickbooks.api.intuit.com/v3/company/ /upload?minorversion=45返回:“超出最大行长度限制”

问题描述 投票:1回答:1

我们正在发送以下多部分请求:

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

quickbooks.api.intuit.com/v3/company/<realm>/upload?minorversion=45但是我们回来了:

{
    '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'
}
quickbooks multipart intuit
1个回答
0
投票

new line解决问题之前添加<base_64_file>

© www.soinside.com 2019 - 2024. All rights reserved.