whatsapp-business-java-api
whatsapp-business-java-api copied to clipboard
Error in Parsing WhatsApp Business Phone Number Response - New fields
Encountered an error while parsing the response from WhatsApp Business Phone Numbers API after the September 12, 2023 update. The issue seems to be related to a missing property, platform_type, in the PhoneNumber class causing deserialization to fail:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field \"platform_type\" (class com.whatsapp.api.domain.phone.PhoneNumber), not marked as ignorable (6 known properties: \"verified_name\", \"code_verification_status\", \"name_status\", \"display_phone_number\", \"id\", \"quality_rating\"])\n at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 225] (through reference chain: com.whatsapp.api.domain.phone.PhoneNumber[\"platform_type\"])
-
Added throughput and platform_type fields to WhatsApp Business Phone Numbers.
-
Added new WhatsApp Business Account Access levels for more granular control.