diff --git a/src/app/app.component.ts b/src/app/app.component.ts index cb0398323..f9b261723 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -79,7 +79,7 @@ export class AppComponent implements OnInit, OnDestroy { ngOnInit() { this.alfrescoApiService.getInstance().on('error', (error: { status: number; response: any }) => { - if (error.status === 401) { + if (error.status === 401 && !this.alfrescoApiService.isExcludedErrorListener(error?.response?.req?.url)) { if (!this.authenticationService.isLoggedIn()) { this.store.dispatch(new CloseModalDialogsAction());