#error api nous

1 messages ยท Page 1 of 1 (latest)

marsh spruce
#

pls fix error

#

๐Ÿ” 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 '}
fossil scroll
#

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.