Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Atlassian Jira User API Failure - BadRequestFormat

(0) ShareShare
ReportReport
Posted on by

I am building an offboarding automation that uses an HTTP POST request to disable a Jira user account. 

 

jira_account_deletion.PNG

The blacked out portion is our API key. The account ID is pulling in correctly. All of the information in the request has been verified by Jira support as correct. However, I am getting this error when I the flow reaches this step:

{
  "key""badRequestFormat",
  "context": {
    "message""Invalid content type (application/octet-stream).  These are valid: application/json"
  },
  "errorKey""bad-request-format",
  "errorDetail": {
    "message""Invalid content type (application/octet-stream).  These are valid: application/json"
  }
}
 
This process works just fine for enabling accounts but not disabling accounts. I can also run this code in cURL and it runs successfully. Has anyone run into an issue like this? Is there a way to change the content-type so that Jira accepts the request?

 

  • jwjwz Profile Picture
    jwjwz 2 on at
    Re: Atlassian Jira User API Failure - BadRequestFormat

    It worked after enter body 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics