文档首页/盘古大模型 PanguLargeModels/常见问题/API调用类/部署完自己微调的预测大模型后,调用API,报错Failed to parse the URL, please check the URL
更新时间:2026-01-13 GMT+08:00
部署完自己微调的预测大模型后,调用API,报错Failed to parse the URL, please check the URL
问题现象
部署完自己微调的模型后,调用API,报错Failed to parse the URL, please check the URL
图1 Failed to parse the URL, please check the URL


解决方案
需要检查URL的拼接是否正确:
如图2所示,在从ModelArts Studio大模型开发平台获取URI后,需要在结尾拼接“/v1/predict”、“/”或者/perm-feat-importance”,返回“200”即为正确。
具体接口需要添加哪个后缀请参考API参考文档的URI部分。
图3 API参考文档的URI部分


父主题:API调用类


