Skip to content

Problem with config init with non-standard API URL #286

Closed

Description

@falko-strenzke

After #285 was fixed (thanks for this!), I tried to create a new config. I still get

get workspaces: Api key does not exist (code: 4003)

before I have a chance to set the API URL. How can I set the API URL so that the correct one is used during config init?

Activity

  1. lucassabreu commented on Feb 11, 2026

    @lucassabreu
    Owner

    it is not on config int yet, to set it run this command (i am assuming EU):

    clockify-cli config set api-url https://euc1.clockify.me/api

    after that you can run config init to setup the rest

  2. added
    type: enhancement
    on Feb 11, 2026
  3. falko-strenzke commented on Feb 11, 2026

    @falko-strenzke
    Author

    Thanks, it works. But a little obscure for users who don't know this ...

  4. pinned this issue on Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questiontype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions