抖音小程序 getUserProfile 和 getPhoneNumber 报错 api scope is not declared in the privacy agreement

小程序 About 342 words

错误信息

tt.getUserProfile failed getUserProfile:fail api scope is not declared in the privacy agreement.

{"errMsg":"getUserProfile:fail api scope is not declared in the privacy agreement.","errNo":10202,"errorCode":111679,"errorType":"D"}

解决方法

该错误表示需要隐私协议授权,但后台未配置该隐私数据。

使用到了相关隐私接口,开发者却未在[小程序后台-基础设置-类目与配置-用户隐私保护指引]中声明对应的隐私类型。

补充隐私类型声明后会立即生效。

Views: 42 · Posted: 2025-08-20

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh