Show an actual response message instead of a cryptic Code 400 error
tgckpg opened this issue · comments
斟酌 鵬兄 commented
I was trying to upload a large file. Didn't realize that it was not allowed. After some debugging I found this:
{"error":{"code":"invalidRequest","message":"Declared file size too large. The largest allowed file size is 53687091200 bytes","innererror":{"code":"maxFileSizeExceeded"}}
This happened in function curl_upload_chunk
under onedrive-base
.