Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to import the backup + you are not permitted to access this resource

Allimuthu Visweswaran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 21, 2022

Unable to import the backup + you are not permitted to access this resource

 

{
"errors": [
{
"context": null,
"message": "You are not permitted to access this resource",
"exceptionName": "com.atlassian.bitbucket.AuthorisationException"
}
]
Command I use:

 

curl -u superuser -v -s -n -X POST -H 'Content-type: application/json' -d '{"archivePath":"Bitbucket_export_63.tar"}' http://127.0.0.1:7990/rest/api/1.0/migration/imports | jq .

 

 

1 answer

0 votes
Andreas Pabst
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2024

Did you manage to solve this problem? I'm having the same problem right now. The "exports" interface works fine, but the "imports" interface returns the "not permitted to access this resource" error. According to the documentation both require the same privileges.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events