{"error":{"name":"MissingTokenError","message":"Unable to find token in request","code":13001,"statusCode":401},"code":13001,"message":"Unable to find token in request"}
Seems like you are not redirected to the loginpage if you try to browse the graphql explorer without being logged in to the client. We’re registering a challenge on that one.
Try to access an App in the same environment first, and then launch the graphql explorer!
Hi, I’m not able to “Reference Objects” in my query in GraphQL.
I Have an object “administrator” where “organization” is a field. I want to get name from organization from administrator. When I run:
{administrator {
_id
organization {
name
}
user
profileImage
role
af_createdDate
af_updatedDate
}}
I get:
{
"errors": [
{
"message": "Field \"organization\" must not have a selection since type \"String\" has no subfields.",
"locations": [
{
"line": 3,
"column": 16
}
]
}
]
}
Why does it treat organization as a string? I understand that it is represented as a string, but I want to reference the object organization. administrator.organization points to the object organization: