You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can get users and backup dashboards without a problem. However, when i try to backup monitors (i'm specifically interested in my Synthetics monitors), i get a 401 with some extra details... see below:
Command issued: user$ nr backup monitors -d ./backups/
Response:
Start to backup all monitors to './backups/' folder
Response status code: 401. Get one page monitors, pageSize '50', pageOffset '0'
OperationName StatusCode Description Message
Get Monitors 401 pageSize:50,pageOffset:0
Status code is not 2XX calling NewRelic REST
Status code is not 2XX calling NewRelic REST
Failed to backup monitors, exit.
The text was updated successfully, but these errors were encountered:
401 means you are not authorized. Please generate a key (not the default account REST API key) and export the key like export NEW_RELIC_APIKEY=acbe9372d4ef4c58b79881633958a596. Then it should work.
I can get users and backup dashboards without a problem. However, when i try to backup monitors (i'm specifically interested in my Synthetics monitors), i get a 401 with some extra details... see below:
Command issued:
user$ nr backup monitors -d ./backups/
Response:
The text was updated successfully, but these errors were encountered: