WhatsApp Url button meta developer is not acepting url
1

I add a Meta template for WhatsApp, that use a url dimanyc button with parameter, i can pass parameter but i can not pass a different url defined in META template y tried many options, i checked serveral times Meta documentation but i can not make it work

{ "messaging_product": "whatsapp", "preview_url": "true", "to": "99995325395", "type": "template", "template": { "name": "test_template", "language": { "code": "es" }, "components": [ { "type": "header", "parameters": [ { "type": "document", "document": { "link": "https://acmfiles.s3.amazonaws.com/Libros/AlgebraParaOlimpiadas.pdf", "filename": "Mifilepdf" } } ] }, { "type": "body", "parameters": [ { "type": "text", "text": "Company name" }, { "type": "text", "text": "jason link" }, { "type": "text", "text": "We are testing" } ] }, { "type": "URL", "text": "Shop Now", "url": "https://www.luckyshrub.com/shop?promo={{1}}", "parameters": [ { "type": "text", "text": "1234" } ] } ] } }

error WWW-Authenticate: OAuth "Facebook Platform" "invalid_request" "(#100) Unexpected key \"text\" on param \"template['components'][2]\"."

Junior
Asked about 3 months ago