abi / abi/screenshot-to-code

Getting this error when trying to integrate anthropic api key Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}}

Abierto
#430 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
78.7k
Forks
9.6k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Describe the bug**
Getting this error when trying to integrate anthropic api key Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}}

![Captura de tela 2024-11-16 113211](https://github.com/user-attachments/assets/10d25181-74f5-4400-a402-2be3de8f3e61)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Look for where the Anthropic API key is configured, likely in environment variables or a config file. Check the API key format and authentication method. Verify the key is correctly passed in requests. Test with a valid key to confirm the fix.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
backend-api-design
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.