Gmail error: The app returned "Unauthorized"
- Tables
-
Product updates
Product updates: January 2023 Product updates: March 2023 Product updates: February 2023 Product updates: April 2023 Product updates: May 2023 Product updates: June 2023 Product updates: July 2023 Product updates: August 2023 Product updates: September 2023 Product updates: October 2023 Product updates: November 2023 Product updates: December 2023 Product updates: January 2024 Product updates: February 2024 Product updates: March 2024 Product updates: April 2024 Product updates: May 2024 Product updates: June 2024 Product updates: July 2024 Product updates: August 2024 Product updates: September 2024 Product updates: October 2024 Product updates: November 2024 Product updates: December 2024 Product updates: January 2025 Product updates: February 2025 Product updates: March 2025 Product updates: April 2025 Product updates: May 2025 Product updates: June 2025 Product updates: July 2025 Product updates: August 2025
- Zaps
- Your Zapier account
- Interfaces
- Canvas
- Chatbots
- Getting started
- Agents
- MCP
- Built-in tools
- Lead Router
- Apps
Table of Contents
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.
Still need help?
If this article did not fix the issue, Zapier has a few other options to get you the help you need:
- Contact Zapier Support. Our Support team can investigate your account to find solutions.
- Ask in the Zapier Community. Get advice from experienced Zapier users in the Zapier Community.
- Learn more about getting help. Read our guide on how to get help and support with Zapier to find the best resources for your specific problem.