Auphere
Documentation menu

Auphere Partner API · Reference

/ v0.1

Troubleshooting

The errors you are most likely to hit, what causes them and what to do.

Authentication and scopes

SymptomLikely causeFix
401 Invalid API keyTypo, revoked key, or expired rotation graceCheck the key end to end; ask for a rotation if in doubt
403 API key lacks required scope: broadcastsYour key can provision but not sendAsk for a key with the broadcasts scope
403 … cannot be used from a tenant-scoped API keyYou are using a key restricted to one client on a partner-level endpointUse your partner key
403 Partner is suspendedYour partner account is suspendedContact us

Provisioning

SymptomLikely causeFix
422 Faltan datos del negocio…A blueprint placeholder has no valueSend the keys the detail names in agent.placeholders
422 … la whitelist quedó vacíaAdmin-only vertical with no usable admin phoneSend at least one E.164 number with 7+ digits
404 Unknown client referenceThe client was never provisioned, or the ref has a typoProvision it first; refs are exact-match and per-partner
Credentials changed unexpectedlyYou called POST /clients to read stateUse GET /v1/partners/clients/{ref} — provisioning rotates credentials

WhatsApp connection

SymptomLikely causeFix
400 Meta rejected the codeThe code expired or was already usedReopen the popup and send the fresh code immediately
409 on connectThe number is already linked to another workspaceContact us to move it
Connected, but the agent stays silenttenant_status is still provisioningRead activation_blocked_reason: no_agent → check provisioning; operator_review → we activate it
Connected, agent answers nobodyAdmin-only vertical with the wrong phones whitelistedCheck GET .../admins matches the numbers actually writing

Campaigns

SymptomLikely causeFix
409 whatsapp_not_connectedThe client has no active number yetFinish the signup first
422 … is PENDING, not APPROVEDThe template is not approved in that client’s accountWait for Meta, or pick another template
422 … positional parametersThe template uses {{1}} instead of {{cliente}}Recreate it in Meta with named parameters
413More recipients than your capSplit the send or ask us to raise the cap
429Too many sends per minuteSpace them out or ask for a higher limit
Recipients come back rejectedOpt-out, or a phone we could not normaliseRead reason per recipient — opt-outs are final and must be respected
Template list is emptyNothing APPROVED in that client’s account yetThe initial set is created with our help after signup

Still stuck?

Send us the detail string, the endpoint and roughly when it happened. Every call is audited on our side, so with that we can trace the exact request. Get in touch.