Skip to content

Instantly share code, notes, and snippets.

@ishansharma
Created June 4, 2017 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishansharma/a7b6b91bedf0cafad63224a2599b6df6 to your computer and use it in GitHub Desktop.
Save ishansharma/a7b6b91bedf0cafad63224a2599b6df6 to your computer and use it in GitHub Desktop.
WP API Error when more than 100 posts are requested
{
"code": "rest_invalid_param",
"message": "Invalid parameter(s): per_page",
"data": {
"status": 400,
"params": {
"per_page": "per_page must be between 1 (inclusive) and 100 (inclusive)"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment