hasura / hasura/graphql-engine

Throwing Error TypeError: Cannot read properties of undefined (reading 'columns')

Open
#9,259 1 comment 1 reaction 0 assignees View on GitHub
k/bug t/native-dbs
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version:
CLI Version (for CLI related issue):

### Environment

### What is the current behaviour?

Throwing errpr :

TypeError: Cannot read properties of undefined (reading 'columns')
at e (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:10305728)
at fo (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36556335)
at el (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36565295)
at Jc (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36603998)
at Dc (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36595731)
at Pc (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36595656)
at Sc (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36592506)
at https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36543478
at t.unstable_runWithPriority (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36619289)
at oi (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36543187)
at si (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36543423)
at ui (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36543358)
at Tc (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36592903)
at Object.r [as notify] (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:6771358)
at e (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:6772051)
at e [as handleChangeWrapper] (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:6772124)
at g (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:14870281)
at https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:36692119
at https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:34503584
at e (https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:14873278)
at https://graphql-engine-cdn.hasura.io/cloud-console/assets/channel/versioned/v2.15.2-cloud.1/vendor.js.gz:1:6849848

### What is the expected behaviour?

Open the tables

### How to reproduce the issue?

Try to open any table(my case peloton users table)

### Screenshots or Screencast

![image](https://user-images.githubusercontent.com/63731049/205288302-2315532a-e12e-4523-9b79-631e95dbb53d.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error when opening a table, such as the reported peloton users table, in the Hasura Cloud console and inspect the browser stack trace from vendor.js.gz. Trace the failure back to the console source; done means tables open without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.