- changed status to resolved
Error getting progress
Issue #26
resolved
Hi!
I've configured Jira/Confluence backup script but I'm getting this error:
{"message":"Client must be authenticated to access this resource.","status-code":401}
I've read the script and the error seems to be while curl getprogress.json, so when the script tries to fill FILE_NAME var, it's empty and a loop breaks and exit with non-zero code.
Scripts that I'm using are: backup-confluence.sh and backup-jira.sh.
Is there any other option for backup?
Comments (1)
-
- Log in to comment
Those scripts are using Cookie authentication that has been deprecated and it is not working anymore: * https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/
That's why you get error 401 (unauthorized).
Please use the scripts backup-jira-api-token.sh and backup-confluence-api-token.sh instead.