# Error exporting metadata through metadata sharing module

**URL:** <https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402>\
**Category:** Implementing\
**Created:** [May 8, 2021, 11:55am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402 "2021-05-08T11:55:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 8, 2021, 11:55am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/1 "2021-05-08T11:55:02Z")

</div>

Hi everyone! I was trying to export metadata from one openmrs platform with the aim of merging concept dictionaries with another openmrs platform. On exporting metadata through metadata sharing module I am getting a lot of errors. I need to know how can I work around this. [Metadata error - Pastebin.com](https://pastebin.com/Bqg0twNN)

 ![Screenshot from 2021-05-07 23-31-01](https://talk.openmrs.org/uploads/default/original/2X/4/44f13f337cef252a8bdfc411fa5d7134487d2110.png)

I have read some similar posts like [CIEL - Error exporting packages - #3 by akanter](https://talk.openmrs.org/t/ciel-error-exporting-packages/3179/3) but what I get is that there are some concepts with duplicate names. But how does this affect the data export aren’t the concepts identified by conceptid?

---

<div class="post-metadata">

**Author:** ![sharif](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sharif/32/11982_2.png) [@sharif](https://talk.openmrs.org/u/sharif)\
**Post date:** [May 9, 2021, 12:36pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/2 "2021-05-09T12:36:33Z")

</div>

**pitiriasis versicolor’** , **linfadenitis’** , **conjuntivitis at├│pica,** , **meningitis bacteriana** , ,are duplicate names in locale ‘es’

---

<div class="post-metadata">

**Author:** ![sharif](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sharif/32/11982_2.png) [@sharif](https://talk.openmrs.org/u/sharif)\
**Post date:** [May 9, 2021, 12:39pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/3 "2021-05-09T12:39:08Z")

</div>

However i have failed to reproduce this on qa server or demo server for instance , which platform version or referenceapplication are you running

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 9, 2021, 1:43pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/4 "2021-05-09T13:43:41Z")

</div>

I am using openmrs 2.0.6 to export metadata but my plan is to import it to 2.3.2 if not possible I will import to 2.0.6. I am not using reference application user interface, I am using legacyiu.

---

<div class="post-metadata">

**Author:** ![sharif](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sharif/32/11982_2.png) [@sharif](https://talk.openmrs.org/u/sharif)\
**Post date:** [May 10, 2021, 5:36am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/5 "2021-05-10T05:36:29Z")

</div>

Probably you are running the old CIEL dictionary where these concepts are duplicate, you can update your server by running on 2.3.2 which runs the latest version of CIEL dictionary

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 10, 2021, 12:13pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/6 "2021-05-10T12:13:55Z")

</div>

I have try to run metadata export on openmrs 2.3.3 with metadata sharing module 1.7.0 and still get the same errors. [metadata export error1 - Pastebin.com](https://pastebin.com/xMqdXkjZ) This seems to be like a dead end. Is there any other alternative of merging concept dictionaries between servers other than using metadata sharing module?

 ![Metadata export error](https://talk.openmrs.org/uploads/default/original/2X/8/8dae63aa913b92a2378887cb649474d104810ab8.png)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 10, 2021, 2:46pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/7 "2021-05-10T14:46:59Z")

</div>

If you do not want to fix the validation errors, set the value of the setting/global property named `validation.disable` to true and try again.

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 13, 2021, 9:31am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/8 "2021-05-13T09:31:30Z")

</div>

I have disable validation on global property settings and export metadata. I got an error [metadata export error2 - Pastebin.com](https://pastebin.com/Guq5egdX)

 ![Metadata sharing module error](https://talk.openmrs.org/uploads/default/original/2X/d/d560fdeebaa3e3e1c37b327e0f54e5621c41170d.png)

---

<div class="post-metadata">

**Author:** ![gcliff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/gcliff/32/8783_2.png) [@gcliff](https://talk.openmrs.org/u/gcliff)\
**Post date:** [May 13, 2021, 11:52am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/9 "2021-05-13T11:52:40Z")

</div>

@jerome24 you can look into this [reference](https://talk.openmrs.org/t/error-importing-metadata-using-metadata-sharing-module-on-platform-1-11-5/6285) to see if it can be of help

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 17, 2021, 10:34am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/10 "2021-05-17T10:34:42Z")

</div>

Thanks but did not help much. I have tried exporting other items and it has run successfully except when I added concept item( event when I try to export concept item alone I get an error). I need to find a solution to solve the error.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 17, 2021, 8:13pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/11 "2021-05-17T20:13:47Z")

</div>

Did you restart tomcat after setting that global property to true?

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 18, 2021, 6:36am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/12 "2021-05-18T06:36:58Z")

</div>

Yes, I did restart tomcat that is why errors have been reduced from 427 to 1 error.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 19, 2021, 9:39pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/13 "2021-05-19T21:39:09Z")

</div>

Does it work if you remove the xforms module?

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 21, 2021, 10:12am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/14 "2021-05-21T10:12:57Z")

</div>

I still get an error after removing xform modules. [export metadata rm xform module - Pastebin.com](https://pastebin.com/ZgwAjaDJ)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 22, 2021, 9:41pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/15 "2021-05-22T21:41:23Z")

</div>

Are you able to reproduce that error on the demo server? [demo.openmrs.org](http://demo.openmrs.org)

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 23, 2021, 7:07am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/16 "2021-05-23T07:07:29Z")

</div>

Here is the error from the demo server.

 ![Export metadata error](https://talk.openmrs.org/uploads/default/original/2X/1/1b75780ff5b13e3e623f98dc66c858de66c9916b.png)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 23, 2021, 1:29pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/17 "2021-05-23T13:29:25Z")

</div>

Can you also share the zip that you are trying to import?

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 23, 2021, 2:21pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/18 "2021-05-23T14:21:53Z")

</div>

I was not importing, I was exporting metadata.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 23, 2021, 9:31pm UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/19 "2021-05-23T21:31:51Z")

</div>

How many concepts are you trying to export? Do you get this error when you export one concept or just a few of them?

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [May 24, 2021, 9:58am UTC](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402/20 "2021-05-24T09:58:23Z")

</div>

I am trying to export concepts like 50,666. I have tried to export a few concepts like 350 and it went successful. I think I will have to figure out a few concepts to export.

[Next page](https://talk.openmrs.org/t/error-exporting-metadata-through-metadata-sharing-module/33402.md?page=2)
