AnsweredAssumed Answered

Import bundle with restman

Question asked by daniele.elia on Nov 22, 2017
Latest reply on Nov 10, 2018 by Stephen_Hughes

Hi all,

I'm trying to import a bundle with restman on a new Gateway .. I exported it with a GET to:

 

https://itnapsrv201:8443/restman/1.0/folders?name=TestFolder 

 

and I'm trying to import with a PUT to:

 

https://127.0.0.1:8443/restman/1.0/bundle

 

I'm getting many errors like the following:

 

 

....

<l7:Mapping action="NewOrExisting" errorType="InvalidResource" srcId="0755fc57a8ce7b31dde3391da6ab7f29" srcUri="https://oldGateway:8443/restman/1.0/resources/0755fc57a8ce7b31dde3391da6ab7f29" type="RESOURCE_ENTRY">
<l7:Properties>
<l7:Property key="ErrorMessage">
<l7:StringValue>Duplicate entry '\xC1\xBDALO\x1F\xA5\xB6\x91c\xB2\xD7\x00+r\x82' for key 'PRIMARY'</l7:StringValue>
</l7:Property>
</l7:Properties>
</l7:Mapping>
<l7:Mapping action="NewOrExisting" errorType="InvalidResource" srcId="0237ac42b7f932ce2cf34193d1aa07aa" srcUri="https://oldGateway:8443/restman/1.0/services/0237ac42b7f932ce2cf34193d1aa07aa" type="SERVICE">
<l7:Properties>
<l7:Property key="ErrorMessage">
<l7:StringValue>Duplicate entry '\xC1\xBDALO\x1F\xA5\xB6\x91c\xB2\xD7\x00+r\x82' for key 'PRIMARY'</l7:StringValue>
</l7:Property>
</l7:Properties>
</l7:Mapping>
<l7:Mapping action="NewOrExisting" errorType="InvalidResource" srcId="0237ac42b7f932ce2cf34193d1b450d1" srcUri="https://oldGateway:8443/restman/1.0/services/0237ac42b7f932ce2cf34193d1b450d1" type="SERVICE">
<l7:Properties>
<l7:Property key="ErrorMessage">
<l7:StringValue>Duplicate entry '\xC1\xBDALO\x1F\xA5\xB6\x91c\xB2\xD7\x00+r\x82' for key 'PRIMARY'</l7:StringValue>

 

...

 

 

Can you help me to understand what's wrong (I use many fragments...)?

 

Thanks

Outcomes