-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/consoleRelated to consoleRelated to consolec/serverRelated to serverRelated to serverk/bugSomething isn't workingSomething isn't workingp/urgentImmediate action requiredImmediate action required
Milestone
Description
Version Information
Server Version: 2.1.0
CLI Version (for CLI related issue): 2.1.0
Environment
OSS (Docker on M1 Mac)
What is the expected behaviour?
I'm hoping to create a remote relationship from the console
Keywords
error creating remote relationship
key definition not found
What is the current behaviour?
Currently Hasura returns an api error:
{
"path": "$.args[0].args",
"error": "Error when parsing command create_remote_relationship.\nSee our documentation at https://hasura.io/docs/latest/graphql/core/api-reference/metadata-api/index.html#metadata-apis.\nInternal error message: key \"definition\" not found",
"code": "parse-failed"
}
How to reproduce the issue?
- In Hasura 2.1.0, create a remote relationship from the console.
Please provide any traces or logs that could help here.
The error message returned by the server:
{
"path": "$.args[0].args",
"error": "Error when parsing command create_remote_relationship.\nSee our documentation at https://hasura.io/docs/latest/graphql/core/api-reference/metadata-api/index.html#metadata-apis.\nInternal error message: key \"definition\" not found",
"code": "parse-failed"
}
Any possible solutions?
It seems like the console may be hitting the server with an invalid API call.
Can you identify the location in the source code where the problem exists?
I cannot, but it seems to be related to #7906 and #7916
If the bug is confirmed, would you be willing to submit a PR?
I cannot Haskell, and realistically it seems like someone might beat me to it, but I guess I'd give it a shot.
Metadata
Metadata
Assignees
Labels
c/consoleRelated to consoleRelated to consolec/serverRelated to serverRelated to serverk/bugSomething isn't workingSomething isn't workingp/urgentImmediate action requiredImmediate action required