Can't use OpenAI compatibles on OpenAI Tools #471

Closed
opened 2026-02-16 10:19:30 -05:00 by yindo · 1 comment
Owner

Originally created by @yuki-js on GitHub (Jul 23, 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 Dify issues & Dify Official Plugins, 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.6.0

Plugin version

0.1.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create deployment of o3-deep-research model on Azure OpenAI
  2. Install langgenius/openai_tool from marketplace
  3. Input authentication parameter
  4. Press Save
  5. Error toast appearedImage

✔️ Error log

PluginInvokeError: {"args":{},"error_type":"ToolProviderCredentialValidationError","message":"Error code: 401 - {'error': {'message': 'Incorrect API key provided: TestTestTest************************************************************************Test. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}"}
Image
Originally created by @yuki-js on GitHub (Jul 23, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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.6.0 ### Plugin version 0.1.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Create deployment of o3-deep-research model on Azure OpenAI 2. Install langgenius/openai_tool from marketplace 3. Input authentication parameter - Azure OpenAI API Key 1 - https://dify-westus.openai.azure.com/openai/deployments/o3-deep-research/chat/completions?api-version=2025-01-01-preview 5. Press Save 6. Error toast appeared<img width="425" height="338" alt="Image" src="https://github.com/user-attachments/assets/372bd39c-c458-4a2f-81da-5059e0b459c5" /> ### ✔️ Error log ``` PluginInvokeError: {"args":{},"error_type":"ToolProviderCredentialValidationError","message":"Error code: 401 - {'error': {'message': 'Incorrect API key provided: TestTestTest************************************************************************Test. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}"} ``` <img width="413" height="225" alt="Image" src="https://github.com/user-attachments/assets/589e75b7-7ce5-4b60-a00b-cc70e65899dc" />
yindo added the bug label 2026-02-16 10:19:30 -05:00
yindo closed this issue 2026-02-16 10:19:30 -05:00
Author
Owner

@crazywoola commented on GitHub (Jul 23, 2025):

I think this is because only official keys can be used in this tool.

@crazywoola commented on GitHub (Jul 23, 2025): I think this is because only official keys can be used in this tool.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#471