Skip to content

Iceberg REST Catalog errors should be spec compliant #46

@amogh-jahagirdar

Description

@amogh-jahagirdar

Describe the bug

Currently, the Iceberg REST server is not spec compliant for errors (non 2xx errors) since error responses need to have specific fields https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml#L3197.
Any failures in the Iceberg REST Server should surface a message, type, code in the response. https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml#L1529

Currently, GlobalExceptionHandler will publish other fields so we may want something different for the Iceberg REST Server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions