Attachment unavailable error when sending customer feedback template
1

Hello,

I am experiencing an issue with sending a customer feedback template via the Facebook Graph API. When I send the template, I receive the following error message:

"Attachment unavailable. This attachment may have been removed or the person who shared it may not have permission."

Here are the details of my setup:

I have subscribed to the messaging_feedback field. I have the necessary permissions: pages_messaging, pages_manage_metadata, pages_messaging_subscriptions, pages_read_engagement, and pages_read_user_content. The cURL request I am using to send the template is as follows:

curl -X POST "https://graph.facebook.com/v7.0/me/messages?access_token=EAAbqH3bXB0EBOL9ZBFAKZA8lYAFAZCyZCIZBAY6FyRiRxZCMvE6at7vNafEBASChw9UQOVYtYk84tBIAJm7yHtF2P5lfrpM2LwURZAFB67bVQT7g2Uod94SraqazJ5JYoPz2tAWQvC693v4KZCi1H2wPTqEExrIk5ZAvctBdxDXlYS0y3tletYrIFuI4AZCPAdbZBCUMkZD" \ -H "Content-Type: application/json" \ -d '{ "recipient": { "id": "USER_ID" }, "message": { "attachment": { "type": "template", "payload": { "template_type": "customer_feedback", "title": "Rate your experience with Original Coast Clothing.", "subtitle": "Let Original Coast Clothing know how they are doing by answering two questions.", "button_title": "Rate Experience", "feedback_screens": [{ "questions": [{ "id": "12345dfgh", "type": "csat", "title": "How would you rate your experience with Original Coast Clothing?", "score_label": "neg_pos", "score_option": "five_stars", "follow_up": { "type": "free_form", "placeholder": "Give additional feedback" } }] }], "business_privacy": { "url": "https://www.feltso.com/privacy" }, "expires_in_days": 3 } } } }'

Could anyone provide insights into what might be causing this issue or how to resolve it? Thank you!

Teja
Asked about a week ago
Selected Answer
1

I have same issue.

June 27 at 6:46 PM
Tốn