Skip to content

Unhelpful 404 error for missing API resources #949

@nightkr

Description

@nightkr

Discussed in #948

Originally posted by jesperpedersen July 6, 2022
Hi,

I'm currently looking at

2022-07-06T08:48:38.812069629-04:00 WARN kube_client::client - Unsuccessful data error parse: 404 page not found
2022-07-06T08:48:38.812085204-04:00 TRACE want - signal: Want
2022-07-06T08:48:38.812127318-04:00 DEBUG kube_client::client - Unsuccessful: ErrorResponse { status: "404 Not Found", message: "\"404 page not found\\n\"", reason: "Failed to parse error data", code: 404 } (reconstruct)

which is from the /apiserver - but is there a way to get more information on this ? Like is it a missing endpoint (resource) or are credentials to blame.

Getting the full URL plus user info into the DEBUG message would be great.

Thanks for any help in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    ergonomicsergonomics of the public interfaceerrorserror handling or error ergonomicsgood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions