changed exception to return special flagged payload