Always receiving error 500 when axios post request fails

[details=“System Information”]

  • Strapi Version: 4.5.5
  • Operating System: Windows
  • Database: MySQL
  • Node Version: 14.20
  • NPM Version: 8.18.0
  • Yarn Version: 1.22.19

Hi guys,

Whenever I do a faulty post request using Axios I am receiving an error 500 in the console. The node terminal is giving me the correct error responses though. No issues with submitting requests as long as the information is correct. Anyone else who ran into this issue and found a solution?