Prevent all errors from invalid id