Skip to content
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

Forbidden GET to customer ID leads to 400 validation failed #23

Open
jschoone opened this issue Feb 26, 2025 · 1 comment
Open

Forbidden GET to customer ID leads to 400 validation failed #23

jschoone opened this issue Feb 26, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jschoone
Copy link

Hi,

I just tried the cli and it looks like a tool which could help me in my day-to-day work.

Unfortunately I can't start timesheets because I'm not allowed to GET /api/customers/{id}:

kimai start -c "Customer" -p "Project" -a "Activity"

 [ERROR] Failed loading customer with ID 2: [403] Client error: `GET https://kimai.example.com/api/customers/2` resulted in a `403 Forbidden` response:
         {"code":403,"message":"Forbidden"}

Since I can use Kimai in the Web UI without any issues shouldn't GET /api/customers be enough because I only need the ID of the customer?

@kevinpapst
Copy link
Member

Hm, good argument, thanks for pointing that one out!

@kevinpapst kevinpapst added the bug Something isn't working label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants