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.

Studio API endpoint error

See original GitHub issue

Bug report

Describe the bug

When clicking on the API information button (URL: /project/default/api) inside of Supabase studio the page does not display any API information and shows the following error message.

supabase studio error message

The container logs also to not log anything:

docker logs supabase-studio

> studio@0.0.5 start /usr/src/app
> next start

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /usr/src/app/.env

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Start self-hosted instance using this guide
  2. Go to /project/default/api

Expected behavior

The API information is shown when visiting the Endpoint similar to using the managed Supabase service.

System information

  • OS: [e.g. PopOS]
  • Browser (if applies) [e.g. chrome, brave]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
m2scaredcommented, Feb 8, 2022

I believe I may have found the issue. @TannerGabriel and @robin-whg can you try to update https://github.com/supabase/supabase/blob/master/docker/volumes/api/kong.yml#L8-L12 with your keys?

At least now I can see the screen.

image

0reactions
m2scaredcommented, Feb 9, 2022

Hi @m2scared, we already covered this in the docs https://supabase.com/docs/guides/hosting/docker#generate-api-keys

Hi @phamhieu. Thanks! I missed that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices for REST API Error Handling - Baeldung
In this tutorial, we'll learn about some of the best practices for handling REST API errors, including useful approaches for providing users ...
Read more >
Network Error the API did not return a response.
When sending requests to an API endpoint, the request is sent directly from your local browser (or desktop application, if you're using Studio ......
Read more >
Endpoint API error - Authentication failed (WT 4-7
Endpoint API error - Authentication failed (WT 4-7: Synchronize changes to an API specification between Studio and Anypoint Platform).
Read more >
Endpoint Error Handling - WSO2 API Manager Documentation ...
Therefore, endpoint error handling is a key part of any successful Micro Integrator deployment. Messages can fail or be lost due to various...
Read more >
Error Handling and Troubleshooting with API - YouTube
An important element of any software application is concise, useful error handling. Error handling refers to the anticipation, detection, ...
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