E0009
A call was refused because the API key may not call another account's priced service.
A call was refused because the API key may not call another account's priced service.
Erroneous example:
$ crab call acme/enrich lookup '{"domain":"example.com"}'
Error: 403 [E0009]: acme/enrich is priced and this key may not call it; an owner of the key's account approves at https://crabtalk.ai/grant/WDJB-MJHTAn API key calls its own account's services and free services as it is. Calling another account's priced tool, which spends the account's credit, takes a grant on the key for that service. The refusal opens a grant request asking for one, and names its page; a key holds one pending grant request, which each refusal adds to.
To grant it:
- An owner of the key's account opens the page and approves it.
crab request <code> --waitreturns once they do; then call again. - An agent asks before it calls with
crab key ask --service acme/enrich, which prints the page to send. - Signed in, an owner grants it directly with
crab key grant <key> acme/enrich, or on the key's settings.