Graph API Internal Server Error for user-id/media
1

We are experiencing issues with the Facebook Graph API!

When making a GET request to https://graph.facebook.com/v14.0/${accountId}/media, the HTTP Status Code returns a 500 Internal Server Error.

We are not able to fetch any media for a particular account id. All permissions are granted as it works for other account ids

Has anyone encountered this issue or know of a solution? Would appreciate any help.

Ikshita
Asked about 2 months ago
Selected Answer
1

you need to make sure that you use instagram_business_account key to get media

August 28 at 7:12 AM
Mohamed
Ikshita

I am using the instagram business account id

August 28 at 9:19 AM
1

v14.0 is long gone. Looks like you are using chatGPT or other LLM to generate the code. Use v20 to get the precise error message.

August 28 at 10:01 AM
Arpit