adding unauthorized error to connectors

errors is already defined above