Meta API error 1 “An unknown error occurred”: what to do
Error 1 is Meta’s generic “unknown error”. Meta’s Graph API guidance says it may be a temporary issue due to downtime, so wait and retry, and if it keeps happening check that the endpoint and parameters you are calling exist.
On this page7 sections
The exact message
Error code: 1
What it means
Meta’s Marketing API error reference lists code 1 with the message “An unknown error occurred.” It also lists a variant with subcode 99, where the same message may appear if you set level to adset when the correct value should be campaign.
The reference adds that negative-value error codes are internal Meta errors, and that the real failure code is in error_subcode. Meta’s Graph API error handling guide names code 1 “API Unknown”: possibly a temporary issue due to downtime; wait and retry, and if it occurs again, check that you are requesting an existing API.
Our advice: log the whole error body, not just the message, so the subcode and trace ID are kept when you need to ask Meta support.
How to fix it
Read the full error body and check error_subcode, because the subcode points to the actual cause.
Wait a short time and retry the request, as Meta’s guidance for this code says.
If it happens again, check that the endpoint and fields you call exist, and that level matches the object you query (campaign or adset).
Our advice: if it persists with a fixed request, keep the response with its trace ID and contact Meta developer support.
Common causes
- A temporary problem on Meta’s side, such as downtime.
- An insights request with level set to adset where campaign is the correct value (subcode 99).
- The request targets an endpoint or field that does not exist.
Check it from your AI assistant
Variafy connects ChatGPT, Claude and other AI assistants to your Meta ad accounts and reads the same status, review and error fields, so you can ask “Why is this ad not running?” and get the reason with the affected ad. Every change it prepares is shown as a preview and runs only after you confirm it. Set it up in Claude or ChatGPT; Meta approved the Variafy app in App Review on 12 November 2026.
Source
Checked on 23 November 2026 against Meta Marketing API error codes. Meta changes its messages and help pages; if what you see differs, follow the steps shown in your account.
Questions
What does Meta error 1 “An unknown error occurred” mean?
It is a generic Marketing API error. Meta’s guidance says it is possibly a temporary issue due to downtime, so wait and retry, then check the API you are requesting if it repeats.
What is Meta error 1 with subcode 99?
Meta lists the same message with subcode 99 and says it may occur if you set level to adset when the correct value is campaign.
Should I retry after “An unknown error occurred” on Meta?
Yes, after a short wait. If the same request keeps failing, the request itself is likely wrong, so check the endpoint, fields and subcode.
Related
- What is the Meta Marketing API — and how to use it without writing code
- Meta Ads MCP not working: dynamic registration, redirect_uri, no tools
- Meta ads error 17 “User request limit reached”: fix
- Meta API error 613 “Calls to this api have exceeded the rate limit”
- Meta errors 80000, 80004, 80014 “too many calls from this ad-account”
- Meta API error 190 “Invalid OAuth 2.0 Access Token”: how to fix
- Meta API error 294: “requires the extended permission ads_management”