Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image header not working #36

Open
david-maximous opened this issue Nov 16, 2024 · 0 comments
Open

Image header not working #36

david-maximous opened this issue Nov 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@david-maximous
Copy link

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?

@aalbarca aalbarca added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants