Error trying to register a new webhook to account activity API

webhooks
account-activity

#1

Hello,

I keep getting the error “{“errors”:[{“code”:214,“message”:“Too many resources already created.”}]}” when I try to register a webhook through a POST call to 1.1/account_activity/all/aaprod/webhooks.json?url=XXXX

I already have a webhook registered, but I need to add a second one.
I have the premium paid access to the API so I should be able to register a second webhook.
The screen_name owning the app is @limportant_fr

Let me know if you need more info

Thanks,
Pierre


#2

Hey @deFrance_P - You can only register one webhook per dev environment. You need to specify your second dev environment in the URI and then try adding.

Your example URI of - 1.1/account_activity/all/aaprod/webhooks.json?url=XXXX would become 1.1/account_activity/all/aadev/webhooks.json?url=XXXX for example.


#3

Thank you ! it worked instantly. I hadn’t understood I had to use another dev env.


#4