New Relic error: Authentication failed; the app returned `{"message": "Could not retrieve a list of accounts."}
I’m trying to put the new relic API key, and it keeps failing , im the admin , and nothing works.. following error
“authentication failed: The app returned `{"message":"Could not retrieve a list of accounts."} What happened: Executing authentication.test with bundle {"message":"Could not retrieve a list of accounts."} Console logs: ` as error, which we cannot read.”
Keen to help get to the bottom of this so please keep us updated on how you get on with that!
Hi Sam,
Thanks for your reply.
I have tried all 3 types and sadly not one of them worked… i really am clueless why none of them worked while I’m the admin.
Can you please try and test it on your end, register a free account in New relic, create an API and try to ZAP from google analytics to new relic. Will be interesting to find out if you managed or not.
Hi there @nadavaha,
I’m jumping in to see if I can help!
I tried connecting New Relic to Zapier and I was able to successfully connect my account using the Rest API key. Here’s how I achieved it:
YEP Perfect - i didnt know that the REST API key on the right side brings you o somewhere else.. works !!
I think this solution no longer works. Because Newrelic REST API key was deactivated in March 2024:
So, I keep getting this error when Trying to connect new relic in a recent created zapier account:
I already tried with user key, ingest licence, ingest browser and nothing seems to work.
Error:
We hit an error adding your new account
authentication failed: The app returned `{"message":"Could not retrieve a list of accounts."} What happened: Executing authentication.test with bundle {"message":"Could not retrieve a list of accounts."} Console logs: ` as error, which we cannot read.
Make sure you click "Allow" or "Accept" on the permission popup
Double check your Account has the correct permissions
Thanks so much for bringing this to our attention @autow!
With the older REST API Keys now being deprecated and the User API Keys not being accepted this definitely seems like it’s a bug. I’d recommend reaching out to our Support team about this here as they’ll be able to dig into the logs for your Zap and can open up a bug report so that this can be investigated further.
Sorry to not have a more immediate solution or workaround to suggest. Please do keep us updated on how you get on with them!
Any news? Workarounds here?
Thanks for reaching out here @tickets. I did some checking and found the bug report that was opened up for these issues with the REST API Keys now being deprecated. So I’ve gone ahead and ensured that everyone here has been added to the list of folks being affected.
I can’t make any promises as to when it will be resolved but we’ll definitely send out an email notification to you all the minute it’s been resolved. There aren’t any workarounds reported at the moment but we’ll follow up here to share details of any we come across in the meantime.
Thanks in advance for everyone’s patience while this is being worked on. We’ll keep you posted on any updates here!
Hi @SamB and Team,
I recently encountered the same issue discussed in this thread regarding connecting New Relic to a Zapier account. It seems to be related to the deprecation of the REST API keys and the lack of support for User API keys. I’ve tried the suggested keys (user key, ingest license, and ingest browser), but I keep receiving the following error:
"We hit an error adding your new account authentication failed: The app returned {"message":"Could not retrieve a list of accounts."}"
I noticed that the last update on this issue was around three months ago. I wanted to kindly ask if there have been any updates or workarounds since then. It would be greatly appreciated if you could provide any additional information or guidance.
Thank you in advance for your time and support!
Hi @Arevik!
I’ve just checked on the bug report and there’s been no change in the status of it unfortunately. I’ve added you to the bug report so that you’ll get an email notification from us as soon as it’s been resolved.
There’s still no reported workarounds but you might want to try using the Webhooks by Zapier app to connect to New Relic’s API. It’s a bit more advanced as you’d need to reference New Relic’s API documentation but we have some general guides on how to use Webhooks in Zaps that you might find useful: