fix: improve error handling for pyiceberg list_namespaces permission errors#7864
Merged
mscolnick merged 1 commit intomarimo-team:mainfrom Jan 16, 2026
Conversation
…errors When list_namespaces() fails with a 403 Forbidden error due to insufficient permissions, log at debug level with a helpful message instead of warning with full traceback. Fixes marimo-team#7790
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
All contributors have signed the CLA ✍️ ✅ |
mscolnick
approved these changes
Jan 16, 2026
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.19.5-dev4 |
botterYosuke
pushed a commit
to botterYosuke/marimo
that referenced
this pull request
Jan 17, 2026
…errors (marimo-team#7864) ## Summary Fixes marimo-team#7790 - Improves error handling when list_namespaces() fails due to insufficient permissions. ## Changes When list_namespaces() fails with a 403 Forbidden error (common when credentials don't allow access to the /v1/namespaces API), the code now: - Logs at **debug** level instead of warning - Provides a helpful message explaining that tables can still be accessed if the namespace name is known - Only falls back to warning with full traceback for other unexpected errors ## Test Plan - The change is backward compatible - other errors still log warnings - Users with restricted permissions will no longer see noisy warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #7790 - Improves error handling when list_namespaces() fails due to insufficient permissions.
Changes
When list_namespaces() fails with a 403 Forbidden error (common when credentials don't allow access to the /v1/namespaces API), the code now:
Test Plan