business_discovery API returing "Invalid user id" with "error_subcode": [...]
1

While calling the Business Discovery API to retrieve Instagram public page data, the following error is encountered:

API Request: curl 'https://graph.facebook.com/v20.0/1XXX9?fields=business_discovery.username(mXXXXXXX){name,username,id,ig_id,followers_count,follows_count,media_count,biography,profile_picture_url,website}&access_token=EXXXXXD'

API Response:

{ "error": { "message": "Invalid user id", "type": "OAuthException", "code": 110, "error_subcode": 2207013, "is_transient": false, "error_user_title": "Cannot find user", "error_user_msg": "The user with username: mXXXXXXX cannot be found.", "fbtrace_id": "AjcEfCwqBR-RmiMiTsJOWa6" } }

Siddhi
Asked on Friday