diff --git a/lib/content-services/src/lib/upload/components/file-uploading-list-row.component.ts b/lib/content-services/src/lib/upload/components/file-uploading-list-row.component.ts index 3541f6652d..59b5e22b28 100644 --- a/lib/content-services/src/lib/upload/components/file-uploading-list-row.component.ts +++ b/lib/content-services/src/lib/upload/components/file-uploading-list-row.component.ts @@ -117,7 +117,7 @@ export class FileUploadingListRowComponent { return this.file?.status === FileUploadStatus.Complete && this.isUploadVersion(); } - getFileUploadErrorKey(errorCode: number): string { + getFileUploadErrorKey(errorCode?: number | null): string { return `FILE_UPLOAD.ERRORS.${errorCode || 'GENERIC'}`; } }