-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot parse as CloudRegion #4
Comments
In my case, the problem was the multi-region setup of my DB. I modified the code a bit to accommodate for this. |
Thanks für PR, @silvanm! The fixed list of regions is a bit risky (not „timeless“), as Google adds regions from time to time, but it is easy to correct. I like the idea with default region „EU“, too 🙂, but sure our US friends will disagree with its commonality. I‘ve noticed the BigQuery MCPs all require the region specified. It‘s very annoying if you have tables in mixed regions (e.g. „EU“ and „europe-west1“), as it randomly fails as traffic moves from table to table. If I run „bq query“ from CLI I never have to bother about region. It just runs, as soon as I have permissions to the object. I wonder if MCP can also be made region agnostic…. I also don‘t remember if BigQuery API requires regions specification. |
@0anton Do you still face the same issue ? I'm facing this issue and not able to solve. |
@ngohuuduc yes |
seems like the issue is actually coming from API itself ? |
@0anton : you may try my fork version it's just work for me. |
For every request, for example this:
I'm getting an error:
Error executing code: MCP error 400: Cannot parse as CloudRegion.
There is a double space after the word "parse". I don't see the word CloudRegion in the source code of this module.
I've tried both project id and project number - same error.
bq
cli can list table with out any problems.The text was updated successfully, but these errors were encountered: