question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot convert undefined or null to object

See original GitHub issue

I am using Hasura v1.0.0-beta 8 on a Docker container with a PostgreSQL v11 database.

I can’t modify any of the tables in my database. The interface shows the following error:

TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at n (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/main.js.gz:1:3386804) at Editor.n (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/main.js.gz:1:629171) at Ha (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2639858) at Wa (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2639651) at Ya (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2643090) at fs (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2665500) at ds (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2665890) at Zs (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2673066) at Ys (https://graphql-engine-cdn.hasura.io/console/assets/channel/beta/v1.0/vendor.js.gz:1:2672434)

Any help?

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
coco98commented, Nov 6, 2019

This will be fixed in a few hours.

Meanwhile please refer to https://github.com/hasura/graphql-engine/issues/3314#issuecomment-550540012 for an immediate workaround!

0reactions
jpvxcommented, Nov 6, 2019

Using hasura v1.0.0-beta.9 on postgres 11. Having this issue on every modify tab.

Does anyone have an intermediary rollback solution?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot convert undefined or null to object - Stack Overflow
Generic answer. This error is caused when you call a function that expects an Object as its argument, but pass undefined or null...
Read more >
Cannot convert undefined or null to Object in JavaScript
The "Cannot convert undefined or null to Object" error occurs when we pass a null or an undefined value to a function that...
Read more >
Object.keys(null) possible - cannot convert undefined or null to ...
Conditions above this line allow msg===null to get into Object.keys(msg);. livedata_connection.js:1626 Uncaught TypeError: Cannot convert ...
Read more >
typeerror: cannot convert undefined or null to object - You.com
Solve The Error “TypeError: Cannot convert undefined or null to object” Solution 1: Check if the value is null or undefined before operating...
Read more >
Cannot convert undefined or null to object - JavaScript
JavaScript : How to resolve TypeError : Cannot convert undefined or null to object [ Gift : Animated Search Engine ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found