Table not found in schema
Hey, guys, I'm using Xata through API and in every request to the endpoints I've got the message "Table xyz not found in schema".
This is some kind of setting that I'm too dumb to understand or something that I'm missing?
The request are being completely successful, tho.
Thanks.
3 Replies
Hello, if you have made changes to your branch from the Web UI after you generated the client with "xata init", you will need to run the CLI command "xata codegen" in your project which pulls the latest schema and updates your client. This should make it "aware" of the new table and columns and resolve the warning.
Worked perfectly, thanks @kostas
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View