Zapier · Gmail (Send Email)
Gmail error: The app returned "Unauthorized" (attachment)
Short answer
When a Gmail Send Email step with an attachment returns "Unauthorized", the file URL in the Attachment field is not downloadable or publicly accessible. Make the file public, or store it in a file app where you can change its permissions.
VerifiedLast verified
01Error text
Unauthorized02Likely causes
- The file URL in the Attachment field is not downloadable or publicly accessible.
03How to fix it
- Open the file URL in an incognito browser window to check it downloads.
- Change the file's permission settings to public.
- If you can't, add the file to a file management or storage app where you can change permissions, and map that file instead.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in Zapier (Gmail (Send Email)):
Unauthorized
What it usually means: When a Gmail Send Email step with an attachment returns "Unauthorized", the file URL in the Attachment field is not downloadable or publicly accessible. Make the file public, or store it in a file app where you can change its permissions.
Likely causes:
- The file URL in the Attachment field is not downloadable or publicly accessible.
Fix steps that usually work:
1. Open the file URL in an incognito browser window to check it downloads.
2. Change the file's permission settings to public.
3. If you can't, add the file to a file management or storage app where you can change permissions, and map that file instead.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/zapier/gmail-app-returned-unauthorized-attachmentNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- Not authenticated or UnauthorizedThis Zapier app connection error means the connected account lacks the right permissions or plan in the app, or the connection to Zapier failed. Check your user permissions and plan in the app, then reconnect the app account.
- 401 - UnauthorizedA 401 in a Zap means the request lacks valid authentication credentials. Reconnect your app account by disconnecting and then reconnecting it.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Zapier work:Open Zapier jobsZapier pay estimates