hasura / hasura/graphql-engine

Source does not exist Error when clicking track table on existing database.

Open
#7,254 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I have a primary postgres database connected with full permissions. I am now trying to connect to a second/existing postgres database with read permissions setup on db. Connection succeeds. Tables are shown correctly as untracked. When I click to track a table, I get 500 error: "source with name \"diportal prod\" does not exist"

```
{"code":"internal_error","message":"{\n \"path\": \"$.args[0].args\",\n \"error\": \"source with name \\\"diportal prod\\\" does not exist\",\n \"code\": \"not-exists\"\n}"}
```

Is this expected if I don't have permission to create hdb_catalog schema on that database? If so, is it possible to use the hdb_catalog in primary database for secondary database metadata?

Contributor guide

Open the contributing guide

Research direction

The issue names no source files, tests, or entry points. Start by reproducing tracking an untracked table in a read-permission secondary PostgreSQL database, then determine whether metadata can use the primary database; done requires a documented or implemented resolution for the reported source-not-exist error.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.