Meta ads error
Error 2, subcode 1504042: Invalid custom metrics
The report asks for custom metrics that are not valid.
Common causes
- The custom metrics in the request do not exist or cannot be used.
How to fix it
- Select different custom metrics.
- Run the report again.
Questions
- What does Meta error 1504042 mean?
- The report asks for custom metrics that are not valid.
- How do I fix Meta error 1504042?
- Select different custom metrics. Run the report again.
- Will error 1504042 go away if I just try again?
- No. Meta gives the same answer until the cause is fixed, so change the setting, content or permission first.
Related errors
Source: Meta for Developers: Ads Insights API error codes, checked November 10, 2026
Kapao is an independent tool, not a Meta product. Meta can change its error codes and messages without notice; check the source if something does not match.