E2B icon indicating copy to clipboard operation
E2B copied to clipboard

can't connect with api key?

Open PrathamSoni opened this issue 6 months ago • 1 comments

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

PrathamSoni avatar Feb 07 '24 14:02 PrathamSoni