mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
tongyi multimodal-embedding-v1 InvalidParameter, url error, please check url #865
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhaobingshuang on GitHub (Dec 11, 2025).
Self Checks
Dify version
1.11.0
Plugin version
0.1.7
Cloud or Self Hosted
Cloud
Steps to reproduce
✔️ Error log
@dosubot[bot] commented on GitHub (Dec 11, 2025):
This error usually means the plugin is calling the wrong Aliyun Model Studio API endpoint for your API key region. The tongyi plugin has a setting called
use_international_endpoint—when set totrue, it uses the international endpoint (https://dashscope-intl.aliyuncs.com/api/v1); otherwise, it defaults to the domestic endpoint. If your API key is from the international Model Studio but the plugin is set to use the domestic endpoint (or vice versa), you'll get a 400 InvalidParameter URL error like this one.To fix it:
use_international_endpointflag to match your API key's region.If the endpoint and key region don't match, the API call will fail with this error. The only way to control the endpoint is via the
use_international_endpointflag—there's no direct URL override in the config. More details and code references are available in the plugin source and provider YAML.If you still see the error after checking these, let me know your API key region and the value of
use_international_endpointin your config.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@quchenchen commented on GitHub (Dec 15, 2025):
1.11.1,Encountered the same problem.
@quchenchen commented on GitHub (Dec 16, 2025):
use_international_endpoint false .
req_id: d65945fef9 PluginInvokeError: {"args":{"description":"[models] Error: Response output is missing or does not contain embeddings: {"status_code": 400, "request_id": "92d6f6a2-dc89-47d7-b711-d26949436383", "code": "InvalidParameter", "message": "url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error-url", "output": null, "usage": null}"},"error_type":"InvokeError","message":"[models] Error: Response output is missing or does not contain embeddings: {"status_code": 400, "request_id": "92d6f6a2-dc89-47d7-b711-d26949436383", "code": "InvalidParameter", "message": "url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error-url", "output": null, "usage": null}"} @dosu.
@leeseng-nie commented on GitHub (Dec 17, 2025):
The multimodel embedding model id seems to be changing to "tongyi-embedding-vision-flash" and "tongyi-embedding-vision-plus". Refer Multimodal Embedding doc
@zhaobingshuang commented on GitHub (Dec 17, 2025):
@leeseng-nie Depends on the region Text and multimodal embedding
@zhaobingshuang commented on GitHub (Dec 17, 2025):
@crazywoola The problem still exists.
@leeseng-nie commented on GitHub (Dec 17, 2025):
Hope newer fix can handle both china an international regions.