名称 | 描述 |
---|---|
error_code | 错误码 |
error_msg | 错误描述信息,帮助理解和解决发生的错误 |
{
"error_code": 500001,
"error_msg": "param invalid"
}
错误码 | 错误信息 | 描述 |
---|---|---|
500000 | internal server error | 服务器内部错误 |
500001 | param invalid | 参数错误 |
500002 | auth failed, no access | 无权访问 |
curl --location --request POST 'https://qianfan.baidubce.com/wenxinworkshop/service/apply?access_token =' \
--header 'Content-Type;' \
--header 'x-bce-date;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "",
"modelVersionId": 428,
"name": "api测试",
"uri": "apitest",
"modelId": 312,
"poolType": 2,
"replicas": 1'
{
"log_id": "string",
"result": {
"result": true,
"serviceId": 0
}
}