logo
enes

Error codes

Last update: 6 hours ago by Irais Aguirre

Error codes for the block and unblock users endpoints, with their causes and solutions.

CodeDescriptionSolution
1Phone Number not foundThe phone number you sent isn't valid.
2'block_users' cannot be nullWhen blocking or unblocking users, the 'block_users' object can't be null.
30The provided phone number is not associated with the specified WABAThe phone number you sent isn't linked to the WABA you specified.
31The provided phone numbers are already blocked: [<phone_number_1>, <phone_number_2>]One or more numbers in the request were already blocked. Remove them from the request to block the rest.
32The provided phone numbers are not blocked, therefore, they cannot be unlocked: [<phone_number_1>, <phone_number_2>]One or more numbers in the request weren't blocked. Remove them from the request to unblock the rest.
401Parameter 'wbaId' not matchThe authentication token isn't associated with the WABA you sent.
3009Authorization Server URL JWT token expiredThe authentication token has expired. Generate a new one.
Previous
List blocked users
Next — WhatsApp
Profile and logo