# Limits & errors

What a Chargebee connection can and cannot do, and the errors its connect call returns.

## What you cannot do

- Connect more than one Chargebee site to a profile. Use another profile for a second site.
- Connect with a read-only key. Zernio needs a Full-Access key to add its webhook endpoint.
- Connect a site that already holds five webhook endpoints. Remove one first.
- Backfill invoices paid before the site was connected, or while it was disconnected.
- Send renewals or refunds to ad platforms. Renewals count in campaign results only.

## Common errors

| Error | Cause | Fix |
|---|---|---|
| `401 invalid_credentials` | Chargebee refused the site name or the key, or the key is read-only | Check the site name and create a Full-Access key. |
| `400` on `site` | The site is not a bare name | Send only the part before `.chargebee.com`. |
| `502 platform_api_error` | Chargebee did not answer, or did not accept the webhook endpoint | Remove an unused endpoint, then try again. |
| A sale is not on any campaign | The subscription's and customer's `meta_data` have no visitor id, click id or UTM tag | Set `zernio_visitor_id`. See [Sales](/platforms/chargebee/sales#tie-a-sale-to-its-ad). |

## Related

- [Connect a Chargebee site](/connect/connect-chargebee-credentials)
- [Connect](/platforms/chargebee/connect)