API Reference > imodeljs-clients > iTwinServiceClients > AuthenticationError AuthenticationError Class Beta Error for issues with authentication. Extends ResponseError Methods Name Description constructor(errorNumber: number | HttpStatus, message?: string, getMetaData?: GetMetaDataFunction): AuthenticationError Inherited methods Name Inherited from Description _initName(): string Protected BentleyError This function returns the name of each error status. getMetaData(): any BentleyError Return the meta data associated with this BentleyError. Inherited properties Name Type Inherited from Description _data Protected undefined | any ResponseError description undefined | string ResponseError errorNumber number BentleyError hasMetaData Accessor ReadOnly boolean BentleyError Returns true if this BentleyError includes (optional) meta data. message string Error name string Error stack undefined | string Error status undefined | number ResponseError Defined in core/clients/src/Client.ts Line 119 Last Updated: 13 June, 2024