nocodb / nocodb

🔥 🔥 🔥 Open Source Airtable Alternative
https://nocodb.com
GNU Affero General Public License v3.0
48.89k stars 3.33k forks source link

🐛 Bug: base created by api not shown in webui #9321

Open liunux4odoo opened 1 month ago

liunux4odoo commented 1 month ago

Please confirm that the bug report does not already exist

Steps to reproduce

  1. run noco-win-x64.exe(v0.255.0) directly
  2. create base using api:
        import requests
        url = "http://127.0.0.1:8080/api/v2/meta/bases"
        data = {
            "title": "testbase",
            "type": "database",
            "external": False,
        }
        requests.post(url, json=data, headers={"xc-auth": "xxx"})
  3. the "testbase" appears in noco.db:nc_bases_v2, but not shown in webui. I need to restart noco-win-x64.exe to show it.

Desired Behavior

new base created by restful api should be shown in webui instantly.

Project Details

Node: v18.5.0 Arch: x64 Platform: win32 Docker: false RootDB: sqlite3 PackageVersion: 0.255.0

Attachments

No response

dosubot[bot] commented 1 month ago

Could you provide the response you receive from the API call when you create the base? Additionally, are there any error messages or logs generated by the application when the base is not shown in the web UI?

To continue talking to Dosu, mention @dosu.