Skip to content

Image header not working #36

@david-maximous

Description

@david-maximous

Hello,

Everytime I try to use a template with image header like:
->header(Component::image('https://lumiere-a.akamaihd.net/v1/images/image_c671e2ee.jpeg'))

I get the following error:
NotificationChannels\WhatsApp\Exceptions\CouldNotSendNotification: {"error":{"message":"(#132012) Parameter format does not match format in the created template","type":"OAuthException","code":132012,"error_data":{"messaging_product":"whatsapp","details":"header: Format mismatch, expected IMAGE, received UNKNOWN"},"fbtrace_id":"xxxxxxxxxx"}}

Any idea about the root cause or if it's a problem from the package itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions