| ”registrationId is required” | You didn’t set Request.registrationId. | Call register(...) once and pass the id it returns. |
| ”does not match a registered source” | The id doesn’t resolve to a source (e.g. deleted, or from another environment). | Re-register in this org and store the new id. |
| ”is disabled” | The source was disabled on the Credits tab. | Re-enable it, or use a different source. |
| ”requires either prompt or contentBlocks” | The request had neither text nor content. | Set prompt, or supply contentBlocks. |
| credit / payment / “402” | Balance too low or a spend cap reached. | Ask an admin to buy credits or raise the usage limit. |
| ”provisioned” / “not connected” | The org’s AI workspace isn’t ready. | Finish connecting and wait for activation. |