dialogflow permission error : "Not allowed to ask for PII in apps designed for family."
dialogflow permission error : "Not allowed to ask for PII in apps designed for family."
从我的 webhook 向 dialogflow 发送权限请求时出现此错误:
MalformedResponse expected_inputs[0].possible_intents[0].input_value_data: Not allowed to ask for PII in apps designed for family.
这是我的 json 回复:
{
"payload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"intent": "actions.intent.PERMISSION",
"data": {
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"optContext": "To deliver your order",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
}
}
}
}
}
and this is raw api response on dialogflow
{
"responseId": "0f9b3201-27f4-4994-9ecc-ee827f25b00e",
"queryResult": {
"queryText": "trouve ma position",
"action": "request_permission",
"parameters": {
"Conversation-entites": "position"
},
"allRequiredParamsPresent": true,
"fulfillmentMessages": [
{
"text": {
"text": [
""
]
}
}
],
"webhookPayload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"data": {
"optContext": "To deliver your order",
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
},
"intent": "actions.intent.PERMISSION"
}
}
},
"intent": {
"name": "projects/monappli-c5bf0/agent/intents/c4a07ba8-2258-4836-8e90-7b552584e8eb",
"displayName": "request_permission"
},
"intentDetectionConfidence": 1,
"diagnosticInfo": {
"webhook_latency_ms": 316
},
"languageCode": "fr"
},
"webhookStatus": {
"message": "Webhook execution successful"
}
}
我只是想获取 Google 家庭信息,例如位置和姓名
感谢帮助
错误消息表明您正在做两件相互排斥的事情:
您已指出该操作将在“Actions for Families”计划下可用。
您是 requesting 个人身份信息,包括姓名和具体位置。
家庭行动的 eligibility criteria 特别指出:
Actions may not collect or solicit any personally identifiable user data.
和
Actions may not use Google sign-in (account linking), request OAuth scopes, access most user data APIs (except for coarse device location), or access any transaction APIs.
如果您需要请求此信息,则应通过转到 Google 控制台上的操作和
从“家庭操作”程序中删除操作
正在从左侧导航中选择目录信息。
打开附加信息部分。
正在将 "For Families" 设置为 No
。
从我的 webhook 向 dialogflow 发送权限请求时出现此错误:
MalformedResponse expected_inputs[0].possible_intents[0].input_value_data: Not allowed to ask for PII in apps designed for family.
这是我的 json 回复:
{
"payload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"intent": "actions.intent.PERMISSION",
"data": {
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"optContext": "To deliver your order",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
}
}
}
}
}
and this is raw api response on dialogflow
{
"responseId": "0f9b3201-27f4-4994-9ecc-ee827f25b00e",
"queryResult": {
"queryText": "trouve ma position",
"action": "request_permission",
"parameters": {
"Conversation-entites": "position"
},
"allRequiredParamsPresent": true,
"fulfillmentMessages": [
{
"text": {
"text": [
""
]
}
}
],
"webhookPayload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"data": {
"optContext": "To deliver your order",
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
},
"intent": "actions.intent.PERMISSION"
}
}
},
"intent": {
"name": "projects/monappli-c5bf0/agent/intents/c4a07ba8-2258-4836-8e90-7b552584e8eb",
"displayName": "request_permission"
},
"intentDetectionConfidence": 1,
"diagnosticInfo": {
"webhook_latency_ms": 316
},
"languageCode": "fr"
},
"webhookStatus": {
"message": "Webhook execution successful"
}
}
我只是想获取 Google 家庭信息,例如位置和姓名
感谢帮助
错误消息表明您正在做两件相互排斥的事情:
您已指出该操作将在“Actions for Families”计划下可用。
您是 requesting 个人身份信息,包括姓名和具体位置。
家庭行动的 eligibility criteria 特别指出:
Actions may not collect or solicit any personally identifiable user data.
和
Actions may not use Google sign-in (account linking), request OAuth scopes, access most user data APIs (except for coarse device location), or access any transaction APIs.
如果您需要请求此信息,则应通过转到 Google 控制台上的操作和
从“家庭操作”程序中删除操作正在从左侧导航中选择目录信息。
打开附加信息部分。
正在将 "For Families" 设置为
No
。