openai_api_compatible PluginInvokeError API request failed code 422 #11949

Closed
opened 2026-02-21 19:04:55 -05:00 by yindo · 2 comments
Owner

Originally created by @xiaoyunjie on GitHub (Mar 21, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

✔️ Expected Behavior

After the update to dify1.1.1, one of the original model interfaces that supported the openai api interface specification did not work properly. What's the deal

Actual Behavior

Out of order

Originally created by @xiaoyunjie on GitHub (Mar 21, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <!-- Failed to upload "48657098551b7dd836fbff991d1ce9c5.png" --> <!-- Failed to upload "77a2236f011ca43dcfc3f4408ab6793d.png" --> <!-- Failed to upload "491835de961c2f58998a29cb2aac0a47.png" --> ### ✔️ Expected Behavior After the update to dify1.1.1, one of the original model interfaces that supported the openai api interface specification did not work properly. What's the deal ### ❌ Actual Behavior Out of order
yindo added the 🐞 bug label 2026-02-21 19:04:55 -05:00
yindo closed this issue 2026-02-21 19:04:55 -05:00
Author
Owner

@crazywoola commented on GitHub (Mar 21, 2025):

Duplicated

@crazywoola commented on GitHub (Mar 21, 2025): Duplicated
Author
Owner

@crazywoola commented on GitHub (Mar 21, 2025):

A 422 error is usually not returned by Dify itself. It is typically caused by third-party intermediaries or possibly due to the use of certain serverless proxies, such as Cloudflare.

@crazywoola commented on GitHub (Mar 21, 2025): A 422 error is usually not returned by Dify itself. It is typically caused by third-party intermediaries or possibly due to the use of certain serverless proxies, such as Cloudflare.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11949