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 .
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.