Network error when using the official uploader UI

新規投稿

コメント

5件のコメント

  • tonyjin

    Hello oreolek, do you have some sample code for your use case? You can also try plugging in your developer token and folder ID into the sample CodePen here: https://codepen.io/box-platform/pen/QvqGwr

     

    The first call to https://upload.box.com/api/2.0/files/content is correct since that's how the Box Upload File API works (https://developer.box.com/reference#upload-a-file). The preflight call checks whether the file you want to upload will be accepted by Box before you have to send the bytes over the wire.

    0
    コメントアクション Permalink
  • oreolek

    Tried it on CodePen (folderId: 0). Still a network error.

    0
    コメントアクション Permalink
  • tonyjin

    Two possibilities that I can think of:

     

    0
    コメントアクション Permalink
  • oreolek

    Added the domains to CORS and converted folder ID to string. I even changed my Internet provider to open all ports and get a white IP.

    Still a network error.

    0
    コメントアクション Permalink
  • tonyjin

    That's unfortunate. Do you mind sharing a screencast of your process with the network panel open? Otherwise a screenshot of the network error with the network panel and console logs both visible works as well.

     

    Example:

    2017-08-28_11-21-59.png

    0
    コメントアクション Permalink

サインインしてコメントを残してください。