Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't connect with api key? #304

Open
PrathamSoni opened this issue Feb 7, 2024 · 1 comment
Open

can't connect with api key? #304

PrathamSoni opened this issue Feb 7, 2024 · 1 comment

Comments

@PrathamSoni
Copy link

Describe the bug
api auth not working

To Reproduce
Just run e2b sandbox

Expected behavior
runs

Browser console output

e2b.api.v2.client.exceptions.BadRequestException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'application/json; charset=utf-8', 'date': 'Wed, 07 Feb 2024 14:32:04 GMT', 'Content-Length': '356', 'via': '1.1 google', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'})
HTTP response body: {"error":"error in openapi3filter.SecurityRequirementsError: security requirements failed: invalid API key, please visit https://e2b.dev/docs?reason=sdk-missing-api-key to get your API key: failed to get get team from db for api key: failed to get team from API key: dial tcp [2600:1f18:2e13:9d01:6b50:be88:ee42:391]:5432: connect: network is unreachable"}

Desktop (please complete the following information):

  • OS: macos
@mlejva
Copy link
Member

mlejva commented Feb 7, 2024

Hi this should be resolved now. We had a network outage on our infrastructure.

Can you please try again and confirm it's working now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants