chatbox icon indicating copy to clipboard operation
chatbox copied to clipboard

[BUG] Using Grok2 API get error

Open m11751 opened this issue 1 year ago • 17 comments

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 avatar Nov 17 '24 02:11 m11751

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

wall-zhaoyun avatar Nov 17 '24 13:11 wall-zhaoyun

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

mekos2772 avatar Nov 17 '24 14:11 mekos2772

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

mekos2772 avatar Nov 17 '24 15:11 mekos2772

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

m11751 avatar Nov 18 '24 02:11 m11751

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

jz4256752 avatar Nov 19 '24 15:11 jz4256752

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

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

This service is not available in your region.

Gentlepro6 avatar Nov 20 '24 06:11 Gentlepro6

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

Gentlepro6 avatar Nov 20 '24 06:11 Gentlepro6

遇到了来自 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.

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

m11751 avatar Nov 20 '24 06:11 m11751

被墙了兄弟们

mekos2772 avatar Nov 20 '24 09:11 mekos2772

遇到了来自 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就能用了

m11751 avatar Nov 21 '24 02:11 m11751

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

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

XueHai3141 avatar Nov 21 '24 07:11 XueHai3141

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

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

This service is not available in your region.

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

m11751 avatar Nov 21 '24 11:11 m11751

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

搞了大半天,原来是这个问题,我也是上传图片识别后出错。按你方法,果然解决了。

v2cn avatar Nov 22 '24 04:11 v2cn

x.ai 打不开了 This service is not available in your region. 使用tz更改ip地址,中国不支持

leij0318 avatar Nov 22 '24 05:11 leij0318

想问一下如何添加grok的api?

Jerrychow0505 avatar Dec 01 '24 18:12 Jerrychow0505

找到解决办法了吗?科学上网之后也还是不行啊

JustinLiam avatar Dec 05 '24 03:12 JustinLiam

想问一下如何添加grok的api?

參考這個:https://www.youtube.com/watch?v=emQkK9xeLa4

m11751 avatar Dec 09 '24 02:12 m11751

找到解决办法了吗?科学上网之后也还是不行啊

跟網絡有關,多換幾個機場試下,我在家裡能用,公司用不了

m11751 avatar Dec 09 '24 02:12 m11751

The grok2 can't work again, someone have solved it ? Error info: 遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档

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

This service is not available in your region.

m11751 avatar Jan 08 '25 02:01 m11751

手机ios版本遇到的问题:

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

API Error: Status Code 429, { "error": { "code": 429, "message": "Resource has been exhausted (e.g. check quota).", "status": "RESOURCE_EXHAUSTED" } }

mark988 avatar Jan 10 '25 02:01 mark988