i am getting sqlite tablenot found error while interacting with wrangler d1 api where as the same statement works perfectly in the console