Sebagian Tidak Bisa Diaksesshare-external
Issue with the registration of phone number
1

Hello, I've an issue with the registration of phone number, because I confirmed by call the number but when I try to do the registration of phone number by POST request, I receive the API response below.

REQUEST (FROM POSTMAN):

curl --location --request GET 'https://graph.facebook.com/v20.0/xxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--data '{ "pin": "xxxxxx" }'

RESPONSE:

{
  "error": {
    "message": "Unsupported get request. Object with ID 'xxxxxxxxxxx' 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": "AdpOkJ671TuPv2zQvo8kOl9"
  }
}

But the ID exists. I generated a new access token without expired date in the business manager and I selected the options: "business_management" "whatsapp_business_messaging" "whatsapp_business_management" and check it with the link provided: https://developers.facebook.com/tools/debug/accesstoken/?access_token=<ACCESS_TOKEN> and seems all good.

Anyone who has the same issue with this endpoint? Thanks in advance for the answers. Regards.

Filippo
Ditanyakan sekitar 2 bulan yang lalu
Jawaban yang Dipilih
1

Solved! I've created a system user as employee but instead I must to create the system user as administrator. After that, I generate new a access token and the endpoint works.

20 September pukul 02.05
Filippo