api status 500 test