diff --git a/src/app/core/record/record.service.ts b/src/app/core/record/record.service.ts index 3161426c1..af4ea243e 100644 --- a/src/app/core/record/record.service.ts +++ b/src/app/core/record/record.service.ts @@ -155,7 +155,16 @@ export class RecordService { .getFeaturedWorks(options) .pipe(startWith(undefined)), this.getLastModifiedTime(options).pipe(startWith(undefined)), - this._userInfo.getUserInfo(options).pipe(startWith(undefined)), + this._userInfo.getUserInfo(options).pipe( + catchError((error) => { + // For public records, a failing auth userInfo request must not block page rendering. + if (options?.publicRecordId) { + return of(null) + } + return this._errorHandler.handleError(error) + }), + startWith(undefined) + ), ]) .pipe( tap(