Welcome to the new Box Support website. Check out all the details here on what’s changed.

Issues with files/upload_sessions returning error 415 unsuppored media type

Answered
New post

Comments

6 comments

  • Kourtney

    Hello, 

    Hmm this is a strange one. Are you able to provide me with your apps client ID? I'd be happy to take a look in our backend logs to get some more information about the error. 

    Best,

    Kourtney, Box Developer Advocate

    0
    Comment actions Permalink
  • Wire

    Client ID is hqe9kbttqpusniwjmsawvb4nnw3n9wng

     

    Going to try the curl example with my data today and see what return code I get there. If that works will investigate if perl user agent is formatting something weird on me. 

    0
    Comment actions Permalink
  • Kourtney

    That's a great idea - let me know how it goes! 

    I wasn't able to find a 415 in the last week based on that client ID. Are you able to provide a specific date/time/timezone of a 415 you received and/or a full body response that includes a request_id? 

    0
    Comment actions Permalink
  • Wire

    It's the simple stuff that gets you... Had a extra / on the end of the URL. 

    Removed that and it is now working as expected. 

    Thanks again, 

    0
    Comment actions Permalink
  • Kourtney

    So glad to hear you were able to find the issue! Thank you for the update. 

    0
    Comment actions Permalink
  • Brandon Smith

    I was just having the exact same problem. The official documentation here lists a url with the trailing slash. Someone should fix that.

    0
    Comment actions Permalink

Please sign in to leave a comment.