Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

405 Error On File Upload API Call

New post

Comments

5 comments

  • Jason

    Hi , thanks for writing to our forums! I'm excited to hear you're moving over to our New View API!

     

    Since most of your files are working, what you're seeing is probably a little more transient. If you simply retry those files again, do the issues persist or go away?

     

    I'm inclined to say what you're seeing is not expected. If it's not too much trouble, could you please open up a support ticket with us (use Contact Support in the top menu bar of this page)? We'll want to collect some more specific details about your application (maybe not appropriate for this forum) to see exactly what's going on.

     

    Thanks!

    Jason

    0
    Comment actions Permalink
  • workramp

    Thanks for the response! I submitted a ticket. Note that as the jan 15 EOL date approaches this issue increases in severity. Thanks for the help.

    0
    Comment actions Permalink
  • dleemans

    Hello,
    I have the same issue.

    Are there any updates on that issue?

    Thanks and Best,

    Dimitri

    0
    Comment actions Permalink
  • Jason

    Hey  and ,

     

    While working on a support case for one of our enterprise customers, we discovered a possible root cause for this issue (by accident). It's possible that the content type you are sending is not multipart/form-data. Instead, we've seen that an application/x-www-form-urlencoded content-type will reproduce this 405 error.

     

    You can verify whether your application is sending the correct content-type by making your API call to https://httpbin.org/anything instead of api.box.com, which will echo the details of your API call. Even if it's not the content-type error, you could compare your code's API call with a successful call via Postman to see what the difference might be.

     

    Hope that helps!

     

    Thanks,

    Jason

    0
    Comment actions Permalink
  • RamuPatnam11

    I am also facing same with 405 erro method not allowed
    i tried content type with both "application/x-www-form-urlencode" and "multipart/form-data" 
    but still i am facing same issue please can you help me for this asap.

    0
    Comment actions Permalink

Please sign in to leave a comment.