rest_invalid_param
-
WordPress REST API: Testing & Debugging
A REST error tells you where the request stopped. â‘ Route exists? 404 restnoroute â‘¡ Args valid? 400 restinvalidparam â‘¢ Permission? 401 or 403 rest_forbidden â‘£ Your callback:…
-
WordPress REST API: Schema & Validation
In the WordPress REST API, args do the checking for you. Mark a param as required and core answers 400 restmissingcallbackparam before your callback runs. Give it a…