Database-Web-API icon indicating copy to clipboard operation
Database-Web-API copied to clipboard

What's Oops? "Oops something's gone wrong!"

Open merabchik opened this issue 4 years ago • 0 comments

Here is my case where is returned something strange response, I can't debug it why or how to track problem? (Nice solution for fast API mapped with database schema, thanks) https://127.0.0.1:8000/default/product.json { "response": { "status": 400, "message": "(0) Oops something's gone wrong!" } }

CONFIG: 'default' => true, // Default dataset 'name' => 'database_name', 'username' => 'root', // root is default 'password' => 'pass', // root is default 'server' => 'host', // localhost default 'port' => 3306, // 3306 is default 'ttl' => 1, // Cache time to live. Disable cache (1 second only) 'type' => 'mysql', // mysql is default 'table_docs' => $docs['dataset'], 'table_list' => [], // Tables's whitelist (Allow only the tables in this list, if empty allow all) 'table_blacklist' => [/blacklist users table/ $users_table, ], // Tables's blacklist 'column_list' => [], // Columns's whitelist (Allow only the columns in this list, if empty allow all) 'column_blacklist' => [], // Columns's blacklist

merabchik avatar Sep 10 '21 21:09 merabchik