It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xray-Maven integration- error as ' Status:403 Response:Basic auth with password is not allowed


I am using XRay-Maven plugin for running my TestNG tests from a maven project.

Upon running the command to just upload(or,build,test,upload) surefire reports ,I am getting an error that says "Execution default-cli of goal com.xpandit.xray:xray-maven-plugin:1.1.0:xray failed: Abort Execution!: Unable to confirm Result of the upload..... Upload Failed! Status:403 Response:Basic auth with password is not allowed on this instance".

Has anyone experienced this error before?(screenshot is attached)Upload-error.PNG

1 answer

0 votes
Andy Heinzer Atlassian Team Jan 15, 2020


I see that you're attempting to use xray for running some tests, but you appear to be getting an error in regards basic auth.   This error message is expected if your Jira site is on the Atlassian Cloud platform. 

Atlassian deprecated the use of passwords in basic auth in Atlassian Cloud sites more than 6 months ago.  More details in Deprecation notice - Basic authentication with passwords and cookie-based authentication.  Perhaps the guide you are referencing here is specifically designed to utilizing Jira Server, which does not have this same limitation out of the box.  

Are you using a Jira Cloud site here?  If you were, it would have a domain such as or (legacy).

If you are then you might be able to get around this by generating an API Token, and using that instead of the password here. 

If you are not using a Jira Cloud site, and you are using Jira Server site, then it seems that your specific Jira Server site has disabled basic auth.  This could happen in situations where Jira has been integrated with an external auth server, like an SSO or OKTA.  In cases like that, you won't be able to perform basic auth calls to that Jira server in its existing configuration.  Perhaps you could reach out to the Jira admin to see if there is some alternative means to authenticate there or some means to allow basic authentication for these calls.

I hope this helps.


Hi :)

Can you please reach our support team in our Service Desk?

We do need more details to better help you with this issue. 


Best Regards

Team Xray

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Are you giving proper attention to your non-billable efforts?

  It happens all the time: when planning project activities managers and team leaders tend to give more attention to the billable efforts, those ones the customers will pay for. But we all know...

73 views 0 0
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you