Gmail error: The app returned "Unauthorized"

Symptoms

When using any Gmail’s actions in your Zaps to send an email with an attachment, you see the error message "Unauthorized". You may see this error when setting up a Zap or in the details of a Zap run in your Zap history.

Causes

This happens when your file URL in the Attachment field is not downloadable or publicly accessible.

How to fix it

To fix this issue:

  • Test if a file’s URL is accessible or downloadable: 
    • Open an incognito browser and copy and paste the URL into the address bar. 
    • Press Enter on your keyboard.
    • One of the following will happen:
      • The file will display in the browser window if it’s a viewable format.
      • The browser will download the file to your computer.
      • If the file cannot be accessed, you may see an error message. This means Zapier cannot access the file. Learn more about sending files in Zaps.
  • Adjust the permission settings on your file to public.
  • If you cannot adjust the permission settings on your file, you will need to add the file to a File Management or Storage app where you can adjust the permissions. 
Was this article helpful?
0 out of 1 found this helpful