Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Received HTTP Status Response: 400 + One time Authentication

Y_ Oezl
Contributor
June 11, 2026

Hello dear Community,

There are two issues I’d like to get your thoughts on. I hope you can help me or share your ideas.

Firstly, I have an automation in place. It consists of 12 steps and sends three web requests.

The purpose of the automation is to create a ticket and a ‘linked work item’ from Instance A to Instance B.

To achieve this, an ‘Application Link’ was created between the two instances, and the automation was set up by writing these steps using Web Requests. However, this automation was created using an Organisation admin account and uses its API token.

The aim here is to make this automation operational using a ‘Service Account’. Listing the steps taken in order:

1. A Service Account was created, and under ‘Apps’, Jira Admin (App Admin) + Jira (User) were added to ensure it is valid for both instances; no other options were available.

2. For credentials, an API Token was generated and the following permissions were granted: (I think this is actually too much, but I wasn’t entirely sure.)

 

manage:jira-project
manage:jira-webhook
manage:jira-configuration
read:jira-work
write:jira-work
read:jira-user
manage:jira-data-provider

3. The API Token was converted from Base64 and integrated into the Basic c2V....

4. The system account was added as an admin to the projects; additionally, ‘Browse Project’ and ‘Create Issue’ permissions were added for a single user via the project permissions section. As I tested each stage in turn, I considered this as an option and added it for testing purposes 

5. The permissions for the service account were tested via the Permission Helper, and the permissions appear to be in order in both projects.

However, following the tests carried out, the system continues to display the same error : 

Unable to publish the web request - received HTTP status response:
400
Error found in the HTTP body response:
{"errorMessages":["The target project doesn't exist or you don't have permission to create issues in it."],"errors":{"project":"The target project doesn't exist or you don't have permission to create issues in it."}}

As I couldn’t think of anything else, I felt I needed to consult you. 

PS: However, I deliberately tried something silly and added the API token without encoding it, and it still returned the same error. I think there’s also an error in the response in the Audit Log section of the Jira automation.
I’d like to ask you the second question once this topic has been concluded.

Best Regards
Yigit.

1 answer

0 votes
Marc -Devoteam-
Community Champion
June 11, 2026

Hi @Y_ Oezl 

What is the API endpoint you are using?

Here is an example of a properly formed URL for a request to the Jira app: https://api.atlassian.com/ex/jira/{cloudId}/rest/api/3/project/{project_key}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events