Skip to content

Unknown error during login #1053

@stepskop

Description

@stepskop

Using login command returns APIFY_UNKNOWN_ERROR.

Please report this issue at https://github.com/apify/apify-cli/issues, and provide the following information:

- Error code: 9 (APIFY_UNKNOWN_ERROR)
- Error metadata: {}

- Stack:
Error: Unknown error: Unexpected end of JSON input
    at CommandError.into (file:///opt/homebrew/lib/node_modules/apify-cli/dist/chunk-YCUUD3VH.js:63:680)
    at runCLI (file:///opt/homebrew/lib/node_modules/apify-cli/dist/chunk-YCUUD3VH.js:66:1408)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async file:///opt/homebrew/lib/node_modules/apify-cli/dist/apify.js:2:108

- Arguments (!!!only provide these as is if there is no sensitive information!!!):
  [“login”]

- CLI version: `apify-cli/1.3.0 (b61db41) running on darwin-arm64 with node-25.6.0, installed via npm`
- CLI debug logs (process.env.APIFY_CLI_DEBUG): Disabled
- Stdin data? No

Slack thread: https://apify.slack.com/archives/C0L33UM7Z/p1774512640556819

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions