| HTTP 状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 200 | 10002 | 参数错误 | 检查参数是否漏传 |
| 200 | 10003 | client_key 不存在 | 检查 client_key 参数是否正确 |
| 200 | 10013 | client_key 或者 client_secret 报错 | 检查 client_key 和 client_secret 是否正确 |
curl --location 'https://open.douyin.com/oauth/client_token/' \
--header 'Content-Type: application/json' \
--data '{
"grant_type": "client_credential",
"client_key": "ttxxxxxx",
"client_secret": "7802f4e6f243e659d51135445fe********"
}'{
"data": {
"access_token": "clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******",
"description": "",
"error_code": 0,
"expires_in": 7200
},
"message": "success"
}