I have a problem with this request and I don't know what could be wrong with it, can someone help me please?
Web request URL : https://api.freelo.io/v1/custom-field/add-or-edit-value/
HTTP method : POST
Web request body : Custom data
Custom data :
{ "custom_field_uuid": "{{extID.get(webhookData.project.name)}}",
"value": "{{createdIssue.key}}",
"task_id": {{createdIssue.customfield_10084}} }
Content-Type : application/json
Authorization : API key
In audit log is this error:
Hi @lucie_bednarikova ,
This error is usually when the credentials for the user performing the request aren't provided in the right way or are invalid. i.e. the service wasn't able to identify the user. I believe that your format of the token is the issue.
The format for API token in Cloud jira is -H "Authorization: Basic *****"
Hi @Niranjan
thank you for your help.
So what exactly should I put in Authorization? I tried "Basic API key" and still the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is an sample format for Jira
curl -D- \ -X GET \ -H "Authorization: Basic ZnJlZDpmcmVk" \ -H "Content-Type: application/json" \ "https://your-domain.atlassian.net/rest/api/2/issue/QA-31"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry, but I still do not get it. What shoud I change please?
As Authorization I have "Basic JiraToken".
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.