Skip to content

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

@jschoone

Description

@jschoone

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions