Skip to content

Unclear error messages during Package Import #18864

@MikeKry

Description

@MikeKry

When an exception occurs during Package Import, the following scenarios are typically the cause:

  • Conflict in Alias
  • Conflict in Permalink

Current Error Messages

1. Permalink Conflict

Error importing content item version id 'XYZ': 'Your permalink is already in use.'

Problem: This error message only displays the content item version ID from the source environment. Since you cannot search by content item version in CMS, troubleshooting is difficult.

Suggested improvement: Include the following information:

  • ContentItemId from both source and target environments
  • Display text from both source and target
  • Permalink from both source and target

2. Alias Conflict

Error importing content item version id 'XYZ': 'Your alias is already in use. "ALIAS"'

Current status: This message is better as it includes the alias name, but ContentItemId would still be useful for troubleshooting.

Current Workaround

The only way to troubleshoot these errors is to manually search for the version ID in:

  • The ZIP package file, or
  • The database (when remote deployment is active)

This process is time-consuming and could be avoided with more informative error messages.

Bonus

We could show these messages directly in the package import screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions