#error api nous
1 messages ยท Page 1 of 1 (latest)
๐ Nous 401 โ Portal authentication failed.
Response: {'status': 401, 'message': 'Your API key is invalid, blocked or out of funds. Please go visit the portal to sort that out: https://portal.nousresearch.com '}
Most likely: Portal OAuth expired, account out of credits, or agent key revoked.
Troubleshooting:
โข Re-authenticate: hermes login --provider nous
โข Check credits / billing: https://portal.nousresearch.com
โข Verify stored credentials: ~/AppData\Local\hermes/auth.json
โข Switch providers temporarily: /model <model> --provider openrouter
โ ๏ธ API call failed (attempt 1/3): AuthenticationError [HTTP 401]
๐ Provider: nous Model: deepseek/deepseek-v4-flash:free
๐ Endpoint: https://inference-api.nousresearch.com/v1
๐ Error: HTTP 401: Your API key is invalid, blocked or out of funds. Please go visit the portal to sort that out: https://portal.nousresearch.com
๐ Details: {'status': 401, 'message': 'Your API key is invalid, blocked or out of funds. Please go visit the portal to sort that out: https://portal.nousresearch.com '}
โ ๏ธ Non-retryable error (HTTP 401) โ trying fallback...
โ Non-retryable error (HTTP 401): HTTP 401: Your API key is invalid, blocked or out of funds. Please go visit the portal to sort that out: https://portal.nousresearch.com
โ Non-retryable client error (HTTP 401). Aborting.
๐ Provider: nous Model: deepseek/deepseek-v4-flash:free
๐ Endpoint: https://inference-api.nousresearch.com/v1
๐ก Nous Portal OAuth token was rejected (HTTP 401). Your token may be
expired, revoked, or your account may be out of credits. To fix:
1. Re-authenticate: hermes auth add nous --type oauth
2. Check your portal account: https://portal.nousresearch.com
โ ๏ธ Note: deepseek/deepseek-v4-flash:free looks like an OpenRouter slug (:free suffix).
Nous Portal won't recognize that model name. Either switch to a
Nous catalog model, or run /model openrouter:deepseek/deepseek-v4-flash:free to use OpenRouter.
โ โ Hermes โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Error: Error code: 401 - {'status': 401, 'message': 'Your API key is invalid, blocked or out of funds. Please
go visit the portal to sort that out: https://portal.nousresearch.com '}
This is two separate issues in the same error.
First, Nous is rejecting your current Portal credential:
HTTP 401: Your API key is invalid, blocked or out of funds
Re-authenticate Nous, then check your Portal credits:
hermes auth add nous --type oauth
Portal:
https://portal.nousresearch.com/
Second, the model you selected looks like an OpenRouter free model slug:
deepseek/deepseek-v4-flash:free
The :free suffix is an OpenRouter-style model name. Do not use that through provider nous. After re-authenticating, select a Nous catalog model for the Nous provider.
If you specifically want that :free model, switch to OpenRouter and use it there instead. The slug isn't used on Nous.
If it still fails after re-auth and selecting the correct provider/model, run:
hermes debug share
and send the three links it prints.