Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code 401 Unauthorized when trying to upload from GoogleDrive/Dropbox #1356

Closed
ricms93 opened this issue Mar 18, 2019 · 6 comments
Closed

Code 401 Unauthorized when trying to upload from GoogleDrive/Dropbox #1356

ricms93 opened this issue Mar 18, 2019 · 6 comments
Labels
Companion The auth server (for Instagram, GDrive, etc) and upload proxy (for S3)

Comments

@ricms93
Copy link

ricms93 commented Mar 18, 2019

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

@arturi arturi added the Companion The auth server (for Instagram, GDrive, etc) and upload proxy (for S3) label Mar 19, 2019
@dvins
Copy link

dvins commented Mar 20, 2019

Is this related to #1298?

@dvins
Copy link

dvins commented Apr 6, 2019

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

@arturi
Copy link
Contributor

arturi commented Apr 6, 2019

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

@serverdevil
Copy link

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

@arturi
Copy link
Contributor

arturi commented Apr 12, 2019

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

@arturi arturi closed this as completed Apr 12, 2019
@ricms93
Copy link
Author

ricms93 commented Apr 15, 2019

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Companion The auth server (for Instagram, GDrive, etc) and upload proxy (for S3)
Projects
None yet
Development

No branches or pull requests

4 participants