Axios error

25 views
Skip to first unread message

Divya Gupta

unread,
Jan 17, 2024, 7:11:09 AM1/17/24
to ZAP User Group
While running OWASP ZAP automation, an error is displayed saying " Request failed with error code 400". Please provide possible solutions for this error.

Simon Bennetts

unread,
Jan 17, 2024, 7:16:23 AM1/17/24
to ZAP User Group
A response code of 400 means the server thinks it is a bad request: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400

The solution is to change the request so that the server accepts it :)
We dont know why your server is rejecting the request from ZAP.

Can you access that URL via a web browser ok?

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages