-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi I have the following issue where no matter what I do the push command will fail with a 403 error. The pull command works perfectly fine without any issues.
As a run down:
- I'm self-hosting (you can see the custom API URL there)
- API key has FULL permissions - left nothing unchecked just to be sure and even regenerated a fresh one like this to check
- The 403 is coming from the actual instance not a load balancer or anything
npx @tolgee/cli push --api-url https://cat.company.com tgpak_<my-api-key> --verbose
🐭✅ Reading files...
⚪ [HTTP] Requesting: POST https://cat.company.com/v2/projects/1/single-step-import
⚪ [HTTP] Response: https://cat.company.com/v2/projects/1/single-step-import [403] [<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>
]
🐭✅ Uploading files...
🐭✅ Importing...
🔴 An unexpected error occurred while running the command.
🔴 Please report this to our issue tracker: https://github.com/tolgee/tolgee-cli/issues
🔴 You are not allowed to perform this operation [status: 403]
Error: You are not allowed to perform this operation [status: 403]
at handleLoadableError (/node_modules/@tolgee/cli/dist/client/TolgeeClient.js:11:15)
at Command.<anonymous> (/node_modules/@tolgee/cli/dist/commands/push.js:181:17)
at Generator.next (<anonymous>)
at fulfilled (/node_modules/@tolgee/cli/dist/commands/push.js:4:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Also checked the docker logs on our server and nothing jumped out at me that would be causing this kind of forbidden error. Any pointers or things to sense check on that I might have missed in the docs would be much appreciated and happy to report back on any tests you'd like me to do 🙏
Metadata
Metadata
Assignees
Labels
No labels