web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Error 8004801E Import ...
Power Pages
Unanswered

Error 8004801E Import failed: Violation of UNIQUE KEY constraint 'UQ_LocalizedLabelCheck'. while importing a solution

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

I'm importing a solution in a D365 prod env (the same solution was imported correctly in 2 others envs on the same organization) but the import return this error:

Import failed: Violation of UNIQUE KEY constraint 'UQ_LocalizedLabelCheck'. Cannot insert duplicate key in object 'MetadataSchema.LocalizedLabel'. The duplicate key value is (2f2e4bdc-cb4d-42a9-902d-89234dc8d6e5, DisplayName, 1055, Jan 1 1900 12:00AM, 2). The statement has been terminated.

 

I'm trying to detect the label that I should delete but I can't find it, have you got any suggestions?

 

Thanks 

Thomas

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @Thomasrainer  the error is describing that in that environment you have a value and that one is unique. So I recommend you to do a filter in dataverse using this GUI 2f2e4bdc-cb4d-42a9-902d-89234dc8d6e5, then delete.

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Export the Solution out as Unmanaged, unzip it, then search the Customizations.xml file for the GUID.

  • domliu37 Profile Picture
    314 Super User 2024 Season 1 on at

    Hi @Thomasrainer ,

     

    If you know which table contains that record Guid : 2f2e4bdc-cb4d-42a9-902d-89234dc8d6e5, DisplayName, 1055, Jan 1 1900 12:00AM, 2, then delete it.

     

    Otherwise do what @Fubar suggested, just delete that line in the xml file

     

    Cheers,

    Dom

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Note: I was not suggesting deleting out of the XML, but it will let you identify what it believes the duplicate item is.  You would the look at if you can remove the item from the Target instance, if not, add a new item and remove the conflicting item from your source dataverse instance.

  • Thomasrainer Profile Picture
    2 on at

    Hi @Fubar ,

    thanks for the answer to my question, we did some checks and we wasn't able to find the guiid inside the customizations.xml. 
    We succeed to import the solution only after removing labels of each languages, except of english, from customizations.xml.

    Do you have some suggestions?

     

    Thanks,

    Thomas

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 53

#2
DP_Prabh Profile Picture

DP_Prabh 49

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 28 Most Valuable Professional

Last 30 days Overall leaderboard