Uppy: Code 401 Unauthorized when trying to upload from GoogleDrive/Dropbox

Created on 18 Mar 2019  路  6Comments  路  Source: transloadit/uppy

I'm working on setting companion in a express app and a AWS lambda function and for the client I'm using (only for testing purposes) the React Example provided in the repository. I started with the serverless example and after some work I was able to upload local files to S3, and authenticate with Dropbox and GoogleDrive.

Unfortunately, after selecting a file (GoogleDrive or Dropbox) to upload, I keep getting a 401 unauthorized code. I thought it could be related to #1303 but my error has nothing to do with S3. Indeed, as I said above, I'm able to upload files using companion and AWS lambda. As I saw in this comment it might be related to an error with _uppy-auth-token_. Is there something I'm missing or any extra configuration I need to set in order to upload files successfully?

I'm attaching a Gif showing the flow and the error I'm getting in the console. Thanks in advance for any help.

error2

Companion

Most helpful comment

I can confirm that I was facing the same issue with @uppy/core 0.29 and with latest version , this is not the case.

All 6 comments

Is this related to #1298?

@arturi Are there any updates you can share on this item?

Hi! Can you please try with the latest version of Uppy and Companion?

I can confirm that I was facing the same issue with @uppy/core 0.29 and with latest version , this is not the case.

Please re-open if you are still experiencing this issue.

@arturi I am not facing the unauthorized issue anymore. Now I'm getting an error that I think is related to #1306. I will keep track of that issue in the corresponding ticket. For this one I think everything is working as expected. Thank you.

Was this page helpful?
0 / 5 - 0 ratings