Carlos Melo
Member
Hello,
You guys may know that Meta has changed the way to verify phone numbers to Whatsapp Business API.
So, I have tried to request the verification code using the code provided by Meta to validate the registered phone number, but the code doesn't work.
That is new Meta method and it doesn't seem to work properly, but I believe someone here can give me some clues.
They advise doing this through this link:
developers.facebook.com
Over there they provide the code below to request the code using the phone number being registered:
{
"cc": "COUNTRY_CODE",
"phone_number": "PHONE_NUMBER_WITHOUT_COUNTRY_CODE",
"method": "sms" or "voice",
"cert": "VERIFIED_NAME_CERT_IN_BASE64",
"pin": "EXISTING_6_DIGIT_PIN" # required if two-step verification is enabled
}
.. as I have inserted my data as following:
{
"cc": "55",
"phone_number": "27992668740",
"code_method": "sms",
"cert": "CmQKIAjW7bnYh4GLAhIGZW50OndhIgdSb3RhWmFwUKKF+78GGkD1lCy9aMw5Jc/jKJWF7C4Ex1raQ7s6EXyaFOcIvyatzW+SkXINDQ+hAsQLyGWLWBuMaDlom89flrUSG+sb3y4AEjBtKB689JvQo/Bas7edrmognFji41TC9C1ebgSzMjrcXsW5xWVDr5L5XPdVm+xyxb8=",
"pin": "142024",
"language": "pt_BR"
}
I tried to request the verification code via Postman, and it returned the following response:
(The language type is there because Postman returned me it is required, after first test.)
{
"error": {
"message": "Unsupported post request. Object with ID '607347995796872' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "AmqtcUP0-XGgyGDfuNe4DEu"
}
}
So where is the problem if all the data are correct ?
You guys may know that Meta has changed the way to verify phone numbers to Whatsapp Business API.
So, I have tried to request the verification code using the code provided by Meta to validate the registered phone number, but the code doesn't work.
That is new Meta method and it doesn't seem to work properly, but I believe someone here can give me some clues.
They advise doing this through this link:
Account - On-Premises API - Documentation - Meta for Developers
Over there they provide the code below to request the code using the phone number being registered:
{
"cc": "COUNTRY_CODE",
"phone_number": "PHONE_NUMBER_WITHOUT_COUNTRY_CODE",
"method": "sms" or "voice",
"cert": "VERIFIED_NAME_CERT_IN_BASE64",
"pin": "EXISTING_6_DIGIT_PIN" # required if two-step verification is enabled
}
.. as I have inserted my data as following:
{
"cc": "55",
"phone_number": "27992668740",
"code_method": "sms",
"cert": "CmQKIAjW7bnYh4GLAhIGZW50OndhIgdSb3RhWmFwUKKF+78GGkD1lCy9aMw5Jc/jKJWF7C4Ex1raQ7s6EXyaFOcIvyatzW+SkXINDQ+hAsQLyGWLWBuMaDlom89flrUSG+sb3y4AEjBtKB689JvQo/Bas7edrmognFji41TC9C1ebgSzMjrcXsW5xWVDr5L5XPdVm+xyxb8=",
"pin": "142024",
"language": "pt_BR"
}
I tried to request the verification code via Postman, and it returned the following response:
(The language type is there because Postman returned me it is required, after first test.)
{
"error": {
"message": "Unsupported post request. Object with ID '607347995796872' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "AmqtcUP0-XGgyGDfuNe4DEu"
}
}
So where is the problem if all the data are correct ?