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
Gefragt vor etwa 2 Monaten
Ausgewählte Antwort
1

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

28. August um 07:12
Mohamed
Ikshita

I am using the instagram business account id

28. August um 09:19
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.

28. August um 10:01
Arpit