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'}}

未關閉
#430 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
78.7k
分支
9.6k
PR 合併指標
30 天內沒有已合併 PR

描述

**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)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
backend-api-design
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。