sql-review-action icon indicating copy to clipboard operation
sql-review-action copied to clipboard

Error 500: Failed to run sql check

Open jsadeli opened this issue 2 years ago • 1 comments

Hello bytebase,

As of the time of this writing, attempting to use this action yields the following error:

Start check statement in file [...]
:error::Failed to check SQL with response code 500 and body {"message":"Failed to run sql check"}
Error: Process completed with exit code 1.

After further investigations, it appears that the main.sh script attempts (and failed) to access the following API URL:

https://sql.bytebase.com/v1/advise

Any advice is appreciated, thanks.

jsadeli avatar Oct 14 '23 10:10 jsadeli

Access to https://sql.bytebase.com/v1/advise just sends "Not found", maybe the creators of the plugin can give some guidance?

sousadiego11 avatar Jan 17 '24 17:01 sousadiego11