a
Hi Illya,
If I understand correctly here, it looks like you are using the unirest library to make a REST API call to Jira Cloud in order to add an attachment, however this appears to be failing with a 404 error code here.
I would expect that you would be trying to call the endpoint POST /rest/api/3/issue/{issueIdOrKey}/attachments in order to add an attachment to an issue in Jira Cloud. However I'm not sure if that is what you are using here, nor can I tell the specifics of how your call is attempting to authenticate this request.
Are you using Basic Auth for this REST API call to Jira Cloud? If so, then you will need to encode your email_address:API_token into a base64 encoded string and then use that string in an authorization header along with your request.
I am interested to learn more about the specifics of your call in order to understand better the possible causes of this error message. Please let me know.
Andy
Thanks, solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.