-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tolgee sync does not use the tolgee login credentials #138
Comments
Hey, I think it's not a bug but the fact that the CLI allows you to login to multiple projects at once, so you'd need to provide the projectId property for it to select the correct api key. I plan to look into this because it's not very user friendly. |
Maybe we may require the projectId in the config. The config should be same for all project users so it dosn't make much sense that it works for one but doesn't for another, who has multiple api keys stored for login. |
@stepan662 I logged in using an API key from a specific project, but I can imagine it does not automatically detect this. @JanCizmar There was a projectId in the config. |
If you specify The issue is that if you just login with PAK, it will parse out projectId and store the key for that given projectId. Then when you try to do anything without specifying the |
Environment
Tolgee CLI Version: 2.4.1 (installed via npm)
Dockerized Tolgee Version: latest
Node Version: 22.9
Operating System: Mac m2
Issue
I am using local tolgee in docker. I have installed the cli through npm. After I run the login command:
I successfully login. However, if I then try to do a sync I get the following error:
Even if though I just logged in using the cli. Then another weird issue occurs. The generated api key is for a specific project but when I run the sync command with the manual settings I get the following error:
My
.tolgeerc
looks like this:Is this a bug or did I configure something wrong?
The text was updated successfully, but these errors were encountered: