johngodley / redirection

Manage all your WordPress 301 redirects and monitor 404 errors
https://redirection.me
GNU General Public License v3.0
553 stars 138 forks source link

Redirection Error #3915

Open jonwhiten opened 3 weeks ago

jonwhiten commented 3 weeks ago

Attempting to delete all 404's that have no User-Agent :(

Plugin: 5.5.0 4.2
WordPress: 6.6.1 (single)
PHP: 7.4.33
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
JavaScript: https://beaconlamps.com/wp-content/plugins/redirection/redirection.js?ver=5.5.0-eff218e8a6050e14b616f8d6629e0ae4
REST API: https://beaconlamps.com/wp-json/
Query: ?page=redirection.php&sub=log&groupby=agent

Action: https://beaconlamps.com/wp-json/redirection/v1/bulk/log/delete/?orderby=total&groupBy=agent&per_page=100&v=1725363687498 POST
Params: {"items":[null]}
Code: 400 Bad Request

Error: Invalid parameter(s): items (rest_invalid_param)
Raw: {"code":"rest_invalid_param","message":"Invalid parameter(s): items","data":{"status":400,"params":{"items":"items[0] is not of type string,number."},"details":{"items":{"code":"rest_invalid_type","message":"items[0] is not of type string,number.","data":{"param":"items[0]"}}}}}