Body parser error handling