hasura / hasura/graphql-engine

One Click Rest Endpoint not working

Open
#9,791 5 comments 0 reactions 0 assignees View on GitHub
c/actions k/bug t/gql-services
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): 2.30.0

### Environment

Docker compose via hasura/graphql-engine:v2.30.0

### What is the current behaviour?

When I click the `Create REST Endpoints (NEW)` from any table, I get an error screen

### What is the expected behaviour?

I'm expecting a page to choose which REST endpoints should be created

### How to reproduce the issue?

1. Upgrade to hasura/graphql-engine:v2.30.0 docker image
2. Upgrade to hasura-cli@2.30.0
3. Open any table view in the console and click "Create REST Endpoints"

### Screenshots or Screencast

![image](https://github.com/hasura/graphql-engine/assets/3528324/38ac0040-b549-42f7-b8bb-280efb3211ea)

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

Screenshot has stack trace

### Any possible solutions/workarounds you're aware of?

None that I'm aware of

### Keywords

REST

Contributor guide

Open the contributing guide

Research direction

Reproduce with hasura/graphql-engine:v2.30.0 and hasura-cli@2.30.0 by opening any table in the console and selecting “Create REST Endpoints.” Start with the console flow behind that action and use the attached screenshot stack trace; done means the endpoint-selection page opens instead of the error screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, graphql, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.