Catch exception if request body wrong