hasura / hasura/graphql-engine

Schema introspection query failed {"errors":[{"message":"Application update required"}]}

Open
#9,040 4 comments 0 reactions 0 assignees View on GitHub
k/bug t/gql-services
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version: v2.12.0

### Environment

Docker, hasura/graphql-engine:v2.12.0

### What is the current behaviour?

When I try to use an authorization header in the console and click the "Decode JWT" button I get redirected to an error page with the below error. The console also complains: `Schema introspection query failed {"errors":[{"message":"Application update required"}]}` Nothing of use is printed to the container logs.

### What is the expected behaviour?

To be able to use the console without the `X-Hasura-Admin-Secret` header to test queries as a user.

### How to reproduce the issue?

1. Uncheck the checkbox next to the `X-Hasura-Admin-Secret` header
2. Add an `Authorization` header with the value `Bearer [valid JWT here]`
3. Click the `Decode JWT` button on the right

### Screenshots or Screencast

![image](https://user-images.githubusercontent.com/13370323/193258526-11db6c86-97d9-4f15-a95b-c6474017547e.png)
![image](https://user-images.githubusercontent.com/13370323/193258587-3fb29687-41aa-4225-8312-fc1b4523f83c.png)
![image](https://user-images.githubusercontent.com/13370323/193258725-d772f6a1-e11a-4345-b1ab-33fa338e346e.png)
![image](https://user-images.githubusercontent.com/13370323/193258863-40c8cc2e-de40-4f1a-91f3-0ab3fdcf7092.png)

### Please provide any traces or logs that could help here.

```
e@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:2119848
e@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:2122624
e@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:2122723
rc@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25862835
tc@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25862628
Xl@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25898482
Hl@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25890133
Pl@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25890056
Cl@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25886906
ui/<@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25837878
t.unstable_runWithPriority@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25913689
oi@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25837587
ui@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25837825
si@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25837758
El@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25883658
enqueueSetState@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25841611
_.prototype.setState@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:25786527
e@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:2112018
e/<@https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v2.12/vendor.js.gz:1:2112378
```

### Any possible solutions?

Don't know.

### Can you identify the location in the source code where the problem exists?

No.

### If the bug is confirmed, would you be willing to submit a PR?

Don't know the source code well enough.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.