Skip to content

[NemoClaw][spark] Installer loops indefinitely when API key is invalid or lacks permission #1099

@eko-liu

Description

@eko-liu

Description

当然可以,下面是按照你之前那个 bug 模板写的新版说明,内容描述了安装时 API Key 无效或权限不足时的行为问题:


[Description]
When installing NemoClaw with an invalid or unauthorized API key, the installation process enters a continuous rolling log loop, repeatedly printing status messages to the console without making progress or exiting.
Instead of continuing indefinitely, the installer should detect invalid or insufficient credentials and prompt the user to re-enter a valid API key or exit gracefully with an error message.

[Environment]
Device: spark
Node.js: v20.20.1
npm: 10.8.2
Docker: Docker Engine 29.3.0
OpenShell CLI: 0.0.15
NemoClaw: v0.1.0 (cec1e4)
OpenClaw: 2026.3.11 (29dc654)
Note: Reproducible consistently when API key is invalid (malformed or expired) or associated account lacks proper permissions.

[Steps to Reproduce]

  1. Run NemoClaw installation (e.g. nemoclaw setup-spark or similar).
  2. When prompted, input an invalid API key (e.g. random string) or use a key with insufficient permissions.
  3. Observe that the installer enters a rolling loop, repeatedly refreshing logs such as “validating credentials” or similar, without showing an error or stopping.

[Expected Result]
The installer should detect the invalid or unauthorized API key and either:

  • Prompt the user: “Invalid API key or insufficient permissions. Please re-enter your API key.”
  • Or exit with a clear error message and non-zero exit code.

[Actual Result]
Installation remains in a loop of status logs indefinitely, without meaningful error feedback or termination.

Steps to reproduce

No steps provided.


[NVB# 6029385]

Metadata

Metadata

Assignees

No one assigned

    Labels

    NV QABugs found by the NVIDIA QA Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions