Open craigbye opened 5 years ago
@craigbye
If you have seen this error after firing the command
17:59:42.764 [main] ERROR com.opsgenie.tools.backup.util.BackupUtils - Could not initiate rate limits. Unauthorized
It's possible that the --apiKey doesn't have the right permission (Suggest using the one from API Key Management), or the incorrect Host URL this request submitting to.
If your Opsgenie is hosted on the EU site, please incorporate the --opsgenieHost argument with the value "https://api.eu.opsgenie.com" into your command, like below.
java -jar OpsGenieExportUtil-0.23.4.jar --apiKey xxxxxx --opsgenieHost https://api.eu.opsgenie.com
By default, the --opsgenieHost URL is pointing to the US API Gateway, https://api.opsgenie.com, so no need to specify it if your Opsgenie is hosted on the US site.
Please try again and verify the result.
Looks like the tool broke on March 14, 2019. Not sure if it's related to this annoucement:
Please do not hesitate to contact us if you have any questions.