Updating error message for works. When a user sends a identifier that is too long, the displayed error message will be more accurate.