Meta Graph API · api · fg-0063

Marketing API /ads request returns 500 unless the page size is 50 or less

If you see 500 error from /act_{id}/ads with a large limit, the cause and the fix for Meta Graph API are below, last verified 2026-10-05.

Verified Oct 2026trust 50/100
Symptom
500 error from /act_{id}/ads with a large limit
Cause
The ads edge fails on larger page sizes for this call shape.
Fix
Page at limit=50 and follow paging.next.
Apply
GET /act_{ad_account_id}/ads?fields=id,name,creative{link_url}&limit=50, then follow paging.next
Affected
Marketing API, October 2026

Last verified 2026-10-05 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun