Hasura Debugging Tips & Tricks

Saloni Kaur
3 min readJul 17, 2021

Now that we are using this awesome service provider, we should understand how to work with it properly. Here I will be gathering the tips and tricks I have learnt working with Hasura.

CI Failed to apply metadata: cannot apply metadata on the database (unexpected EOF)

This could happen on your CI or even when you are doing this manually.

Possible Solutions:

  1. Reload metadata from Hasura console.
Hasura console > Settings
  • Click on the settings icon on the right top corner of the console and click “Reload” under “Reload metadata”
  • Re-run job on CI or manually

2. Turn on logs.

hasura metadata apply --endpoint <your hasura app url> --admin-secret *** --log-level DEBUG

3. It could be that the CLI version is not compatible with the cloud Hasura version.

  • In that case, just update the CLI

Hasura Project is down

Possible Solutions:

  1. A trick to restart the Hasura Project is to just update…

--

--