Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Invalid Argument error while importing solution. Error code 80040203

Posted on by 3,155 Moderator

Hi,

I am facing some below strange error while importing a solution (for the first time) in Dynamics 365 online environment. Error message is not clear and not getting download log file option to identify the problem. But there is a 'Help me resolve this issue' link which takes to a support page: "Error code 80040203" (Invalid Argument) error occurs when attempting to import a solution into Dynamics 365 (microsoft.com), but still the error persists even after following the solution provided.

 Any help to resolve this error is appreciated. Thanks

pastedimage1634742838654v1.png

  • Jimmywick Profile Picture
    Jimmywick 70 on at
    RE: Invalid Argument error while importing solution. Error code 80040203

    Microsoft is aware of this issue and is working on a change to remove this relationship after a delete then update.

    Solution for Error code 80040203:

    If you need to import the solution and can't recreate the solution package, then remove the relationship from the solution.

    - Unzip the solution.
    - Edit the customization.xml.
    - Search for the relationship mentioned in the error: bpf_<entity>_<publisher>_<BPF Name>
    - Delete all the XML for the EntityRelationship:
    - Save the file.
    - Zip the entire directory.
    - Import the solution again.

    Remove the relationship from the source and recreate your solution:

    - Open the source organization.
    - Select Settings / Customizations / Customize the System
    - Select the Entity in the relationship:
    - Expand 1:N Relationships.
    - Locate the relationship:
    - Select and delete the relationship.
    - Publish All Customizations.
    - Export the solution and import it into the target.

    Hope this helps,
    Regards,
    Jimmywick

  • Jill Vazquez Profile Picture
    Jill Vazquez 40 on at
    RE: Invalid Argument error while importing solution. Error code 80040203

    Try switching to classic and import your solution in the classic interface - I find that the error messages there are more helpful when my import fails.  If that doesn't help, I think  you'll need to provide more info on what is in your solution for anyone to be able to help you.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans