Splunk AppDynamics

Analytics api error

Basit_Amjad
New Member

we are trying to follow this example . however we are getting this error. 

{"message": "Error provisioning account on any cluster"

Ofcourse we are using the correct account name api key 

any ideas? we are using our controller url 

POST https://analytics.api.example.com/events/publish/{schemaName}
X-Events-API-AccountName:<global_account_name>
X-Events-API-Key:<api_key>
Content-Type: application/vnd.appd.events+json;v=2
Accept: application/vnd.appd.events+json;v=2
{
"schema" : {
"account": "integer",
"amount": "float",
"product": "string"
}
}

Labels (1)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Basit.Amjad,

Did you see and check out @Mario.Morelli  reply? Did it help?

0 Karma

iamryan
Community Manager
Community Manager

@Mario.Morelli you beat me to it! 

0 Karma

Morelz
Motivator

Hi Basit

In which Region is your Controller, as the analytics URL is different per region.

This error normally comes up if you try and use an analytics URL from a different region to your controller

Ciao

Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...