Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

API key not valid #54

@cicciocanestro

Description

@cicciocanestro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions