Skip to main content
Question

Intermittent 403 errors when adding attachments to JIRA from Teams

  • January 17, 2025
  • 1 reply
  • 12 views

I have a zap that is supposed to take messages posted to a specific channel in Microsoft Teams, and then use the data in those posts to create a new JIRA ticket, copying over the Subject, Description, and attachments.  The first part works fine, and I’m able to create the ticket in question.  However, when I try to use the “Add Attachment to JIRA Cloud” step, I get a 403 error about half the time.



I’ve determined that the 403 error that happens half the time seems to be coming from Teams, but the message Zapier gives is very unhelpful:

Failed to create an attachment in Jira Software Cloud

The app returned "403 FORBIDDEN".


However, I’m pretty sure that’s coming from Teams.  “The App” isn’t very clear though.  But when I created a code step to just access the attachments URL, it still got a 403.

Additionally even when it succeeds it adds a string with the attachment URL to the attachments as an attachment to the JIRA ticket, instead of the attachment itself.

What am I doing wrong there, why is it intermittent, how do I see more clear data as to where the failure happens, and what workarounds exist for successfully pulling in the attachments to the Teams message and sending them to JIRA?
 

Did this topic help you find an answer to your question?

1 reply

  • Zapier Staff
  • 38 replies
  • January 18, 2025

Hey ​@Noah FL 👋 Welcome to the Community!

Whenever this error comes up, one of the most common causes is due to the file URL not being publicly accessible.

To verify if that is the issue, you can review any of the failed Zap runs in the Zap History, click the Jira step, Run details tab > Data In section. Then copy the URL and paste it in the browser. If you are redirected to a login page, you’ll have the answer.

Could you try that and let me know how it goes?