Hi All
I have tried everything I can't think of a way to get this working. I have managed to connect to the API but for some reason it will not attach the image when running the flow
I can error unsupported media. I have attached the binary of the file to the body and converted to base64 still getting the same error. I'm not really sure what to do. Any help would be appreciated
Could you try to use the API version 3 in relation, or did you already tried that option
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community
I think that you're getting this error because you are trying to define the content-type here when in fact the documentation on using this endpoint does not indicate to use that specific header.
More details in: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post
I believe you should be able to make this work in your python by just removing the 'Content-Type' header entirely.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried this before. I get the same error sadly. Tried application/json and other headers. Just same error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might also be the content type header, I think it should be
Content-Type application/json
If you execute the same call from postman or other script to the Jira APi does it work?
Simply googleing on power automate 415 I see a lot of issues in relation to Power Automate and http requests
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried the content-Type application/json still same errors
I've even tried running this in powershell. Same error 415
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.