I am not able to send WhatsApp flows to iOs devices but it is getting send easily to Android devices. I am getting status = 200 and I am not able to understand the issue with iOs? Someone please help me.
1

When i send the whatsapp flow with below request i got success response from meta cloud api but that whatsapp flow did not appeared in ios devices only but that whatsapp flow apeared in android devices fine. i did not understand with below response. Could you please guide me how to fix it and attached the details of payload and response which retured from metapi

Meta API:

https://graph.facebook.com/v18.0/303735452816578/messages

Whatsapp Flow Request:

{ "recipient_type": "individual", "messaging_product": "whatsapp", "interactive": { "footer": "", "header": "", "action": { "name": "flow", "parameters": { "flow_cta": "GetQuote", "flow_token": "94ea65a2-3ebc-4812-ab14-13dfef7ffc12", "flow_action": "navigate", "flow_id": "954019616502659", "flow_action_payload": { "data": { "sectionName": [ { "id": "12", "title": "MOTOR Commercial Vehicle" }, { "id": "11", "title": "MOTOR Motor Cycle" }, { "id": "13", "title": "MOTOR Passenger Carrying" }, { "id": "10", "title": "MOTOR Private Vehicles" }, { "id": "14", "title": "MOTOR Special Type Vehicles" } ], "bodyType": [ { "id": "1", "title": "SALOON" }, { "id": "2", "title": "4 WHEEL DRIVE/SUV" }, { "id": "3", "title": "STATION WAGON" }, { "id": "76", "title": "WOOD BLENDER TRAILER" }, { "id": "40", "title": "WORK SHOP" }, { "id": "82", "title": "WORK SHOP WITH CRAN" } ], "idType": [ { "id": "4", "title": "Driving License" }, { "id": "1", "title": "National Identification \r\nNumber(NIDA)" }, { "id": "3", "title": "Passport Number" }, { "id": "6", "title": "Tax Identification Number (TIN)" }, { "id": "2", "title": "Voters Registration Number" }, { "id": "5", "title": "Zanzibar Resident Id (ZANID)" } ], "vehicleUsage": [ { "id": "1", "title": "--SELECT--" } ], "policyType": [ { "id": "1", "title": "Comprehensive" }, { "id": "2", "title": "TPFT" }, { "id": "3", "title": "TPO" } ], "isSuminsuredRequired": false, "error_messages": { "id": "", "": "" }, "disble_suminsured_field": false }, "screen": "MOTOR_QUOTATION" }, "flow_message_version": "3" } }, "type": "flow", "body": { "text": "Please fill vehicle details & customer details by using below button 👇" } }, "to": "919566362141", "type": "interactive" }

==========================================================================================================================================================

Whatsapp flow response:

{ "messaging_product": "whatsapp", "contacts": [ { "input": "919566362141", "wa_id": "919566362141" } ], "messages": [ { "id": "wamid.HBgMOTE5NTY2MzYyMTQxFQIAERgSODQ4QkQ3NkQ0NjUxNTU4NkZGAA==" } ] }

==============================================================================================================================================================================================================================================================================================

Flow Json code:

{ "version": "3.1", "data_api_version": "3.0", "routing_model": { "MOTOR_QUOTATION": [] }, "screens": [ { "id": "MOTOR_QUOTATION", "title": "Get Vehicle Quotation", "terminal": true, "success": true, "data": { "sectionName": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } } }, "example": [ { "id": "0", "title": "--SELECT--" } ] }, "bodyType": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } } }, "example": [ { "id": "0", "title": "--SELECT--" } ] }, "vehicleUsage": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } } }, "example": [ { "id": "0", "title": "--SELECT--" } ] }, "idType": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } } }, "example": [ { "id": "0", "title": "--SELECT--" } ] }, "policyType": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } } }, "example": [ { "id": "0", "title": "--SELECT--" } ] }, "disble_suminsured_field": { "type": "boolean", "example": false }, "isSuminsuredRequired": { "type": "boolean", "example": false }, "error_messages": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" } }, "example": { } } }, "layout": { "type": "SingleColumnLayout", "children": [ { "type": "Form", "name": "form", "error-messages": "${data.error_messages}", "children": [ { "type": "TextInput", "label": "Registration Number", "name": "registrationNo", "input-type": "text", "required": true }, { "type": "RadioButtonsGroup", "label": "Choose your insurance type", "name": "policyType", "data-source": "${data.policyType}", "required": true, "on-select-action": { "name": "data_exchange", "payload": { "component_action": "HIDE_SUMINSURED", "policyType": "${form.policyType}" } } }, { "type": "Dropdown", "label": "Section Name", "required": true, "name": "sectionName", "on-select-action": { "name": "data_exchange", "payload": { "component_action": "VEHICLE_USAGE", "sectionName": "${form.sectionName}" } }, "data-source": "${data.sectionName}" }, { "type": "Dropdown", "label": "Body Type", "required": true, "name": "bodyType", "data-source": "${data.bodyType}" }, { "type": "Dropdown", "label": "Vehicle Usage", "required": true, "name": "vehicleUsage", "data-source": "${data.vehicleUsage}" }, { "type": "Dropdown", "label": "Choose Your Id Type", "required": true, "name": "idType", "data-source": "${data.idType}" }, { "type": "TextInput", "label": "Id Number", "name": "idNumber", "input-type": "number", "required": true }, { "type": "TextInput", "name": "customerName", "label": "Customer Name", "input-type": "text", "required": true }, { "type": "RadioButtonsGroup", "label": "Do you have Previous Claim ? ", "name": "claimyn", "data-source": [ { "id": "1", "title": "Yes" }, { "id": "2", "title": "No" } ], "required": true }, { "type": "TextInput", "name": "sumInsured", "label": "SumInsured", "input-type": "number", "required": "${data.isSuminsuredRequired}", "visible": "${data.disble_suminsured_field}" }, { "type": "Footer", "label": "Submit", "on-click-action": { "name": "data_exchange", "payload": { "idType": "${form.idType}", "customerName": "${form.customerName}", "idNumber": "${form.idNumber}", "sumInsured": "${form.sumInsured}", "registrationNo": "${form.registrationNo}", "policyType": "${form.policyType}", "sectionName": "${form.sectionName}", "bodyType": "${form.bodyType}", "vehicleUsage": "${form.vehicleUsage}", "claimyn": "${form.claimyn}", "component_action":"INPUT_VALIDATION" } } } ] } ] } } ] }

Ravi
Ditanyakan sekitar 5 bulan yang lalu