CanRetrieve()=False. FileExtension:'[ext]', ContentType:" combination invalid. - Integration for Epic - English - Foundation 22.1 - OnBase - Essential - Premier - Standard - external - Essential - Standard - Premier

Integration for Epic

Platform
OnBase
Product
Integration for Epic
Release
Foundation 22.1
License
Essential
Standard
Premier

When a user attempts to retrieve a document using the EpicCare Link integration, the following error message may be logged to the error log, which by default is named OnBaseEpicWeb.Errors.log and located in the same directory as OnBaseEpicWeb.dll.

  • CanRetrieve()=False. FileExtension:'[ext]', ContentType:" combination invalid. Check File Format Configuration with your OnBase Admin.

This message is logged when a user attempts to open a document of a file format with an unknown MIME type.

When displaying a document, the EpicCare Link integration performs the following checks:

  1. The EpicCare Link integration first checks for the file format's MIME type in OnBase Configuration.
  2. If the MIME type is not configured, then the integration checks its standard hard-coded values.
  3. If the MIME type still cannot be found, then the error is logged to OnBaseEpicWeb.Errors.log.

To address this issue, ensure the file format's MIME type is specified in OnBase Configuration. Select Document | File Formats to access file format configuration. For configuration information, see the OnBase Configuration help files.