Download fails immediately after successful upload

新規投稿

コメント

1件のコメント

  • LoCortes

    Good morning ,

     

    it seems that the fact that a document won't be available just right after uploading it is something indicated on BOX api reference:

     

    If the file is not ready to be downloaded (i.e. in the case where the file was uploaded immediately before the download request), a response with an HTTP status of 202 Accepted will be returned with a Retry-After header indicating the time in seconds after which the file will be available for the client to download.

     The strange thing is that you receive a 404 and you should receive a 202. 

     

    The 3 seconds sleep you indicate probably are not enough as per what explains the time is indicated on a header variable.

     

    I understand that the document is processed, stored in several nodes, and that will take several seconds before it is allowed to be retrieved.

     

    Thanks

    0
    コメントアクション パーマリンク

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