# FAQ

Canonical: https://docs.bluehola.com/docs/reference/faq
OpenAPI: https://docs.bluehola.com/openapi.yaml

Ordered by how often they come up. Each entry is just the conclusion; the reasoning is on the linked page.

## Messaging

### Does a `202 Accepted` mean the message went out?

No. `202` only means the **platform has accepted it** — neither that it was delivered nor that it was submitted to Meta. There are only two ways to get the real outcome: poll [`GET /v1/messages/{id}`](../messaging/get-v1-messages-id.md), or receive the status webhooks. See [Sending Messages & Tracking Status](../guides/messaging.md).

### Why is there no `delivered` status — it goes straight to `read`?

When the user happens to be sitting in the chat window, Meta omits the `delivered` callback. **Do not assume the statuses always arrive as a complete sequence**, and do not treat a missing `delivered` as a fault.

### A message returns `TEMPLATE_NOT_FOUND`, but the template is clearly approved in the console

Your local templates are out of sync with Meta. Call [Sync Templates from Meta](../templates-flows-media/post-v1-templates-sync.md) first, then confirm both the name and the language match.

### The 24-hour window has closed — what can I still send?

Only **approved template messages**. The platform makes a local determination before persisting anything: free-form messages it is certain are outside the window return `409 WHATSAPP_24H_WINDOW_EXPIRED` immediately, without wasting a credit reservation.

### Uploading media returns 400 VALIDATION_FAILED

The upload endpoint checks each file's size **by media type**: 5 MB for JPG/PNG images, 16 MB for audio, video and documents, and 100 KB static / 500 KB animated for WebP stickers. Over a type's limit, the error's `details` give `mimeType`, `sizeBytes` and `limitBytes`; any file over 16 MB is rejected with `invalid multipart upload (max 16MB per file, 3 files)`. Documents between 16 MB and Meta's 100 MB cap can use the `link` form instead: give Meta a publicly reachable URL and let it fetch the file itself. Images over 5 MB and audio or video over 16 MB are past Meta's own limits too (roughly the same numbers), so `link` does not get around them: an oversized `link` message gets a `202` first and only later turns `failed` via a status callback — compress or re-encode the file. See [Upload Media](../templates-flows-media/post-v1-media.md).

## Billing

### Sending returns 402 — should I adjust the budget or top up?

Check the error code: `CUSTOMER_BUDGET_EXCEEDED` means that customer entity has exhausted its budget, so ask us to adjust its budget cap (historical messages may show `BM_BUDGET_EXCEEDED`, which means the same); `INSUFFICIENT_FUNDS` means the account's overall balance is short and you need to contact us to add credit.

### Are failed deliveries refunded?

Yes, automatically. The platform settles when Meta accepts the message, and anything a later status callback confirms as `failed` is reversed automatically (idempotently — it will not reverse twice). No manual work required.

## Phone numbers and assets

### I changed the display name, so why does WhatsApp still show the old one?

Once the review passes you **must call `register` again** for the new name to actually sync to WhatsApp's servers. Calling register repeatedly, or resubmitting, before the review passes has no effect.

### The credit line is attached but I still get `CREDIT_LINE_NOT_READY`

Check whether the **allocation shared to that Business Portfolio is 0**. The allocation has to be set under "Billing & payments → Credit lines" in Meta Business Suite; the **API cannot set it**.

### My number got blocked for 72 hours while I was debugging onboarding

A Meta-side rule: **at most 10 register/deregister calls in 72 hours**. Exceeding it returns `133016` and blocks that number's registration capability for 72 hours. Do not register the same number over and over while debugging. See [Rate Limits & Quotas](rate-limits.md).

## Onboarding

### Onboarding failed — can I just call the create endpoint again?

No, that creates a brand-new operation. Call `retry` to **resume the same one from where it stopped**. The `code` parameter is optional: omit it if the old credential is still valid, and only have the customer re-authorize for a new code once it has expired.

### Can a lost invitation link be recovered?

No. The plaintext link **appears exactly once, in the creation response**; only the token's SHA-256 is stored. If it is lost, generate a new one.

### Onboarding succeeded but the credit line did not sync — does that count as a failure?

No. **Onboarding success and credit line sharing are two independent states**; a credit line that has not synced will not cause onboarding to be reported as failed.

## Webhooks

### Every signature check fails after I rotate the secret

`rotate-secret` **takes effect immediately, with no overlap period**. The safe approach is to rotate during a quiet period, or to `DELETE` (soft disable) → rotate → store the new value → `POST .../enable`.

### Can an endpoint receive another customer's events?

An endpoint bound with `customerId` only receives events for the Business Portfolios that customer entity owns, and one bound with `projectId` only receives events for that one Portfolio — **never** another customer's or Portfolio's; when an event's ownership cannot be resolved it is not delivered to either (better to miss a delivery than to send it to the wrong party). Omitting both is what makes an endpoint account-level, receiving every customer's events under the account.

### I received the same event twice

That is expected. Delivery is **at-least-once**, so de-duplicate on `X-Delivery-Id` (default scheme) or `Webhook-Id` (connection protocol). See [Idempotency & Retries](idempotency.md).

### My endpoint was down — can I get the missed events back?

Yes. Automatic retries stop after about 38.6 hours. Use [List Deliveries](../webhooks/get-v1-webhook-endpoints-id-deliveries.md) with `status=failed` to find the events your endpoint missed, then call [Redeliver a Delivery](../webhooks/post-v1-webhook-endpoints-id-deliveries-deliveryid-redeliver.md) for each one. The redelivery goes to the endpoint's current URL and is signed with its current secret.

### What does receiving a `probe` event mean?

It is the fallback classification for a Meta callback whose body cannot be parsed as any known event — a connectivity probe, or a new payload shape not yet recognised — with the raw body in `value`. It is **not** the console's "Test" button, which sends `webhook.verification`.
