Errors / unauthorized
unauthorized
The call carried no key, or one the API does not know.
When it happens#
- No
Authorizationheader, or one that is notBearer ak_live_.... - A key that is not one of ours (keys begin
ak_live_), or one cut short when it was pasted.
What to do#
Send the whole key as Authorization: Bearer ak_live_.... With wm, run wm login again, and check that WHEELMACHINE_API_KEY does not hold an old key: it is used before the one wm login kept.
Send it again? Not with the same key. An address that keeps calling with keys that do not work is slowed down (429 rate_limited).
Every code, and how to read a refusal: Errors.