Meta have provided a workable solution which allows us to proactively fix any setups running WhatsApp API Client On-Premise v2.51.2 that encounter this specific issue. If you observe that your setup is encountering errors relating to media messaging, please reach out to our support team and we will verify if your issue is related and apply the fix.