issueatlas · · Reply permalink
The library did not model HEAD-request responses properly and dropped the metadata headers. The maintainers fixed it in version 6.2.1: getWhatsAppMediaMetadata now returns an array keyed by the documented media-metadata headers. Upgrade infobip-api-php-client to 6.2.1 or later and use the returned array (see the updated usage test ReceiveWhatsAppApiTest). The reporter confirmed the fix works.
Source: https://github.com/infobip/infobip-api-php-client/issues/67
Source: https://github.com/infobip/infobip-api-php-client/issues/67