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

[BUG] Using Grok2 API get error #1622

Open
m11751 opened this issue Nov 17, 2024 · 12 comments
Open

[BUG] Using Grok2 API get error #1622

m11751 opened this issue Nov 17, 2024 · 12 comments

Comments

@m11751
Copy link

m11751 commented Nov 17, 2024

Bug description
An error occurred after using Grok2's API for an hour:
An error from Custom Provider was encountered, which is usually caused by incorrect settings or account problems. Please check the AI ​​settings and account status, or click here to view the FAQ document.

API Error: Status Code 400, {"code":"Client specified an invalid argument","error":"The model expects a single text element per message."}
tokens used: unknown, model: Grok-Beta(grok-beta)
The problem persists after changing the API

Reproduction steps
Please provide the steps that allow us to reproduce this bug:

  1. Go to "Settings"

  2. Click "API Key"

  3. Paste the Grok2 API

  4. Found this bug.

Expected results
Can be used normally

Screenshot
If possible, add screenshots to help explain the problem.

Desktop (please fill in the following information):

  • Operating system: Windows 11 Home Chinese Edition 23H2
  • Application version: 1.6.1

Bug 描述
使用Grok2的api后一个小时后出现报错:
遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档。

API Error: Status Code 400, {"code":"Client specified an invalid argument","error":"The model expects a single text element per message."}
tokens used: unknown, model: Grok-Beta(grok-beta)
更换api问题依旧

重现步骤
请提供能够让我们重现这个 bug 的步骤:

  1. 前往 "设置"
  2. 点击 "api密钥"
  3. 粘贴Grok2的api
  4. 发现了这个 bug。

期望结果
能够正常使用

截图
如果可行,添加截图以帮助解释问题。

桌面端(请填写以下信息):

  • 操作系统:Windows11家庭中文版23H2
  • 应用程序版本:1.6.1
@m11751 m11751 changed the title [BUG] [BUG] Using Grok2 API get error Nov 17, 2024
@wall-zhaoyun
Copy link

遇到同样的问题了,Mac 版的

@mekos2772
Copy link

发送文件稳定报错,我的新建一个对话就恢复了

@mekos2772
Copy link

API Error: Status Code 400, {"code":"Client specified an invalid argument","error":"The model expects a single text element per message."} 发送图片视频稳定报错

@m11751
Copy link
Author

m11751 commented Nov 18, 2024

感谢大家反饋,目前找到原因了,grok2還不支持圖片視頻識別,使用圖片視頻識別會報錯,後續無法再次使用,此時刪除當前對話框再新建對話即可解決,這個只能等待grok2更新後修復

@jz4256752
Copy link

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

@Gentlepro6
Copy link

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

API Error: Status Code 403, <!doctype html>

This service is not available in your region.

@Gentlepro6
Copy link

x.ai 打不开了 This service is not available in your region.

@m11751
Copy link
Author

m11751 commented Nov 20, 2024

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

API Error: Status Code 403, <!doctype html>

This service is not available in your region.

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

API Error: Status Code 403, <!doctype html>

This service is not available in your region.

我也出现了,昨天还能用的,今天报错了,是不是机场被封了

@mekos2772
Copy link

被墙了兄弟们

@m11751
Copy link
Author

m11751 commented Nov 21, 2024

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档
API Error: Status Code 403, <!doctype html>
This service is not available in your region.

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

API Error: Status Code 403, <!doctype html>

This service is not available in your region.

我也出现了,昨天还能用的,今天报错了,是不是机场被封了

换了一个api就能用了

@XueHai3141
Copy link

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

API Error: Error from OpenAI: {"code":"Deadline expired before operation could complete","error":"Timed out waiting for stream to complete"}

@m11751
Copy link
Author

m11751 commented Nov 21, 2024

遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

API Error: Status Code 403, <!doctype html>

This service is not available in your region.

又用不了了,油管和gemini都正常,有人推荐美国稳定住宅ip的机场吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants