Skip to content

[bug] REST catalog namespace_exists fails with 400 Bad Request #1271

@dentiny

Description

@dentiny

Apache Iceberg Rust version

None

Describe the bug

Reproduce environment: https://github.com/dentiny/iceberg-rust-namespace-exists
which sets up a docker environment, with latest iceberg-rust.

Steps:

  • start devcontainer
  • cargo run

You should be able to see namespace_exists fails with

Error: Unexpected => Received response with unexpected status code

Context:
   status: 400 Bad Request
   headers: {"date": "Mon, 28 Apr 2025 15:28:27 GMT", "content-type": "application/json", "content-length": "112", "server": "Jetty(9.4.51.v20230217)"}

To Reproduce

Described above, and reproduce stably on my local environment.

Expected behavior

namespace_exists return a boolean true or false, not panic.

Willingness to contribute

None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions