"amplify mock api" showing "NO SCHEMA AVAILABLE"

0
bento on  main [!1] via  v20.7.0 on 🅰 (Japan) took 1m16s
❯ java --version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

bento on  main [!1] via  v20.7.0 on 🅰 (Japan)
❯ amplify upgrade
This is the latest Amplify CLI version.

bento on  main [!1] via  v20.7.0 on 🅰 (Japan) took 2s
❯ amplify mock api

⚠️  WARNING: your GraphQL API currently allows public create, read, update, and delete access to all models via an API Key. To configure PRODUCTION-READY authorization rules, review: https://docs.amplify.aws/cli/graphql/authorization-rules

⚠️ WARNING: owners may reassign ownership for the following model(s) and role(s): User: [owner], Order: [owner], OrderProduct: [owner], OrderStatusHistory: [owner]. If this is not intentional, you may want to apply field-level authorization rules to these fields. To read more: https://docs.amplify.aws/cli/graphql/authorization-rules/#per-user--owner-based-data-access.
✅ GraphQL schema compiled successfully.

Edit your schema at /Users/monti/.z/projects/bento/amplify/backend/api/bento/schema.graphql or place .graphql files in a directory at /Users/monti/.z/projects/bento/amplify/backend/api/bento/schema
Running GraphQL codegen
✔ Generated GraphQL operations successfully and saved at src/graphql
✔ Code generated successfully and saved in file src/API.ts
AppSync Mock endpoint is running at http://192.168.68.119:20002

when browsing http://192.168.68.119:20002: no schema available apikey cannot be updated

Bento
asked 7 months ago88 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions