hasura / hasura/graphql-engine

Sporadic "Failed reading: not a valid json value" errors

Open
#8,549 1 comment 8 reactions 0 assignees View on GitHub
k/bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version: `v2.6.2-cloud.1`

### Environment

Cloud

### What is the expected behaviour?

The expected behavior is that I don't get any errors.

### Keywords

Remote schema, failed reading, remote-schema-error

### What is the current behaviour?

Occasionally, I will see an error like this:

```
{
"path": "$",
"error": "Failed reading: not a valid json value",
"code": "remote-schema-error"
}
```

However, Hasura doesn't give me much info to debug this. Is something wrong with the request? Or is something wrong with the response? If it is something with the response, then Hasura doesn't show me the response when inspecting operations in the monitoring tab.

### How to reproduce the issue?

It happens sporadically—I haven't been able to consistently reproduce it.

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.