While importing a Dataverse solution containing Power Pages Website components,

the solution import failed with the following error :

Import failed: The attachment is either not a valid type or is too large. It cannot be uploaded or downloaded.

The issue was unexpected, as my solution ZIP file is only 2 MB in size, which is well within the allowed file size limit for my environment.

Its turned out to be a different issue.

Reason and Fix:

  • In our Portal components, we have a .js file.
  • The .js file extension is listed as a blocked file extension by default in my environment. To verify this, navigate to Settings > Administration > General tab.
  • Removing the js from the blocked extension list (i.e., Set blocked file extensions for attachments) fixed the solution import error.

🙂

Advertisements
Advertisements

One response to “Dataverse | Solution Import Error: The Attachment Is Either Not a Valid Type or Too Large”

  1. Mike! Avatar

    You are a godsend, Rajeev!

Leave a comment