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

API key not valid #54

Closed
cicciocanestro opened this issue Apr 15, 2024 · 1 comment · Fixed by #55
Closed

API key not valid #54

cicciocanestro opened this issue Apr 15, 2024 · 1 comment · Fixed by #55
Labels
bug Something isn't working

Comments

@cicciocanestro
Copy link

Describe the bug
I write a wrong apikey. It isn' possible to change.

To Reproduce
Steps to reproduce the behavior:

  1. Install lexido
  2. launch lexido. It ask "insert api key"
  3. Insert a wrong apikey
  4. See error

2024/04/15 10:30:36 An error occurred: googleapi: Error 400:
2024/04/15 10:30:36 error details: googleapi: got HTTP response code 400 with body: [{
"error": {
"code": 400,
"message": "API key not valid. Please pass a valid API key.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"metadata": {
"service": "generativelanguage.googleapis.com"
}
}
]
}
}
]

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macs os
  • Version Sonoma 14.4.1

Additional context
Add any other conte
Screenshot 2024-04-15 alle 10 36 12

@cicciocanestro cicciocanestro added the bug Something isn't working label Apr 15, 2024
@micr0-dev
Copy link
Owner

micr0-dev commented Apr 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants