Hi guys,
I'm trying to make a script which creates Structure Elements which have a certain name and content. When I run the im createcontent command the following error appears:
<?xml version="1.0"?>
<Response command="createcontent" app="rq" version="4.13.5479 0-0 5479">
<App-Connection port="***2" userID="username" server="hostname"></App-Connection>
<Exception class="ItemModificationException">
<Message>There are no valid state transitions for this item.</Message>
<Field name="exception-name">
<Value dataType="string">
<TokenValue>im.InvalidStateTransition</TokenValue>
</Value>
</Field>
</Exception>
</Response>
This is the exact command which I'm trying to execute:
im createcontent --hostname=hostname --port=port --user=username --type="Structure Element" --parentId=23549 --field=Content.fva="SW Testing" --field=Title.fva="SW Testing" --xmlapi
The exact command I use for creating Structure Elements on an Integrity 10.4 server and works just fine.
Does anyone knows why I get this behavior?
Thanks in advance
Solved! Go to Solution.
Hello Ovidiu,
I hope that helps.
Regards,
Kael
Hello Ovidiu,
I hope that helps.
Regards,
Kael
You were right, KaelLizak. It was a "permission related" problem ), but the error message was kinda ambiguous.
Thank you very much for your answer.