Jira cloud automated backup powershell script issue
Hi all,
I've downloaded powershell script to automate Jira Cloud backups from xxxx.
First days it worked fine. But now it is not working for any reason. I get the following error and it reapeats indefinitely.
Could you please help me?
Thanks
Diego
Invoke-RestMethod : Error en el servidor remoto: (401) No autorizado.
En C:\Users\user\Desktop\backup.ps1: 23 Carácter: 15
+ ... $status = Invoke-RestMethod -Method Get -Headers @{"Accept"="applic ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Comments (2)
-
-
- changed status to resolved
Obsolete: 1. PS script in repo is newer than this issue. 2. The error returned in here was 401 (not authorized)
- Log in to comment
Hi,
The error you are getting is 401 - Unauthorized. Try to reset the password you use to authenticate into your Cloud instance since most likely it has been blocked after either many attempts with the wrong password or multiple connections at the same time with different IPs or because your Cloud instance has been moved to Atlassian Account and you need to confirm the password or similar...
In case this won't work, please open a support case in support.atlassian.com to have this issue further investigated.
Best Regards,
Dario