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

broken images when uploaded to Box(Only Javascript)

Answered
New post

Comments

1 comment

  • mwiller

     Without knowing what the error you're seeing looks like, I can't provide an exact solution, but I have a couple things you might want to check:

     

    1. I noticed that you're appending the "file" form part before the "attributes" form part — this may cause issues, and I would recommend swapping the order of the parts.
    2. If you haven't seen it already, there is a community-supported client-side JS SDK available at https://github.com/allenmichael/box-javascript-sdk that should do exactly what you're looking for.  Please note that this SDK is not officially supported by Box, and if you have any issues or feature requests for it you should send those directly to the author on GitHub.

    If you can provide more details about the error you're seeing, please let us know and we can see if that helps us get you closer to a solution!

    0
    Comment actions Permalink

Please sign in to leave a comment.