Forums

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

Unable to Create JSM service using Terraform Provider

Apurva Kaushik
January 18, 2026

Hi Team,

I am attempting to create JSM services using our service.json file through the Atlassian Operations
provider "atlassian-operations"

The Terraform plan step completes successfully, but during terraform apply, the resource creation fails with the following error:
│ Error: Client Error
│ Unable to create JSM service, status code: 401. Got response:
│ {"code":401,"message":"Unauthorized"}

I have already verified that the provider configuration and credentials are set correctly.

I am using below details to configure the Provider.

provider "atlassian-operations" {
  domain_name   = var.atlassian_domain
  email_address = var.atlassian_email
  token         = var.atlassian_api_token
  cloud_id      = var.atlassian_cloud_id
}

Could you please help investigate why the API call is failing with a 401 during service creation?

Thank you.

0 answers

Suggest an answer

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

Atlassian Community Events