adding unauthorized error to connectors