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 :
Microsoft Dynamics GP (Archived)

An item with the same key has already been added.

(1) ShareShare
ReportReport
Posted on by 35

I'm getting this exception thrown every time I call eConnectObject.CreateEntity(this.SetEConnectDatabase(CompanyID), XMLDoc.OuterXml.ToString());

The OuterXml includes a VendorID, but this VendorID is not in the database, so that can't be what it's complaining about. I also checked my Functional Currency in GP to ensure it's set up right (another post mentioned that). Can anyone please suggest what the problem might be? This is GP 2010. Thanks.

*This post is locked for comments

I have the same question (0)
  • Mahmoud Saadi Profile Picture
    32,738 on at

    When are you getting this error ? What is the type of integration that you are working on?

    It would be definitely useful to share the XML details, along with the error message for further illustration.

    Your feedback is highly appreciated,

  • dysert Profile Picture
    35 on at

    Thanks for replying. We just figured out what was going on. Apparently there's a sproc that stacks error messages together before presenting them to the user. This error was happening as a result of calling this sproc. (I commented out the call and the error went away.) Classic example of a bogus error message. Thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans