You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up a docker compose entry for prest and connected to the database using the PGREST_PG_URL environment variable with ssl disabled.
I then followed the instructions to set up a user and log in as that user. When do http://localhost:3000/tables I see that the view I want to serve is there.
I have set up a docker compose entry for prest and connected to the database using the PGREST_PG_URL environment variable with ssl disabled.
I then followed the instructions to set up a user and log in as that user. When do http://localhost:3000/tables I see that the view I want to serve is there.
}
schema: "api",
name: "company_announcements",
type: "view",
owner: "postgres"
}
When I go to select from that view I do a
GET http://127.0.0.1:3000/dbname/api/company_announcements
Accept: application/json
Authorization: Bearer XXXXXXXX
I get the following error
HTTP/1.1 400 Bad Request
Content-Type: application/json
X-Content-Type-Options: nosniff
Date: Sun, 29 Aug 2021 13:04:55 GMT
Content-Length: 44
Connection: close
{
"error": "database not registered: dbname"
}
The app can clearly connect to the database in order to list the tables and to log me in why is it giving me this error when I attempt to pull data?
The text was updated successfully, but these errors were encountered: