Hey devs,
I’m having some issues creating a webhook to run against my own account.
I’ve tried using the playground
and even though I can access all other calls the create webhook
always returns either one of the two following error messages:
{
“code”: “forbidden.client”,
“message”: “Creating a webhook for a first party client is forbidden”
}
or
{
“code”: “forbidden.insufficient_permissions”,
“message”: “Access forbidden due to insufficient permissions”,
“params”: {
“client_id”: “oauthclient_xxxxxxxxxxxxxx”,
“user_id”: “user_0000xxxxxxxxxxx”
}
}
Thinking I might be being thick I went through the whole OAuth flow, authenticated using the Monzo app, allowed data access and exchanged for a new access token. Using this new token I can also access info such as account balance, list webhooks etc. via direct API calls. Still with no luck adding a new webhook given the following error
{
“code”: “forbidden.insufficient_permissions”,
“message”: “Access forbidden due to insufficient permissions”,
“params”: {
“client_id”: “oauth2client_0000xxxxxxxxxxxxx”,
“user_id”: "user_0000xxxxxxxxx
}
}
I’ve tried all the combinations of client, user, and account ID’s as the ‘account_id’ param for the /webhooks
post request with no luck.
Can anyone point me in a direction to get this webhook added please