Error Uploading File exceding 1MB

New post


1 comment

  • cbetta

    Hi  I just gave this a test as well and it seems to work fine:


    curl -X POST \
         -H 'Authorization: Bearer hXLolSiUKjMSA9CBDwpIcYU23y0XMr6e' \
         -H "Content-Type: multipart/form-data" \
         -F attributes='{"name":"File.pdf", "parent":{"id":"0"}}' \
         -F file=@file.pdf


    I did notice that your code had an extra double-quote in the Authorization header at the end. This might have caused some weirdness to occur.


    Also, it seems the error does not seem to point at an issue with the file size being too large, but with the non-file data (the attributes field). Can you please retry and verify the full command you used?

    Comment actions Permalink

Please sign in to leave a comment.