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.
Hello and welcome! We're glad to see that you've opened your first issue. We appreciate your contribution and would love to hear more about the problem you're experiencing. Our team is actively monitoring this repository and we will do our best to respond to your issue as soon as possible. Thank you for using our project and we look forward to working with you!
https://github.com/Bindambc/whatsapp-business-java-api/releases/tag/v0.4.1