Skip to content
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

Open
0anton opened this issue Dec 25, 2024 · 1 comment
Open

Cannot parse as CloudRegion #4

0anton opened this issue Dec 25, 2024 · 1 comment

Comments

@0anton
Copy link

0anton commented Dec 25, 2024

For every request, for example this:

{
  `sql`: `
SELECT schema_name
FROM INFORMATION_SCHEMA.SCHEMATA
ORDER BY schema_name;
`
}

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.

@silvanm
Copy link

silvanm commented Jan 18, 2025

In my case, the problem was the multi-region setup of my DB. I modified the code a bit to accommodate for this.

#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants