Skip to Content
0
Aug 28, 2018 at 02:27 PM

SAP cmclient error creating transport

135 Views

Hello,

I've looked around and can't find a solution for the error I'm getting using the SAP cmclient for devops (https://github.com/SAP/devops-cm-client).


I have two commands: the first checks if the change document is in development and the next attempts to create a transport. The command that checks if it is in development returns "true", so that is working as expected. The second returns this error message:

Exception in thread "main" org.apache.olingo.client.api.communication.ODataClientErrorException: No links corresponding to the specified data could be determined. [HTTP/1.1 400 Bad Request]
	at org.apache.olingo.client.core.communication.header.ODataErrorResponseChecker.checkResponse(ODataErrorResponseChecker.java:75)
	at org.apache.olingo.client.core.communication.request.AbstractRequest.checkResponse(AbstractRequest.java:54)
	at org.apache.olingo.client.core.communication.request.AbstractODataRequest.doExecute(AbstractODataRequest.java:310)
	at org.apache.olingo.client.core.communication.request.invoke.AbstractODataInvokeRequest.execute(AbstractODataInvokeRequest.java:169)
	at org.apache.olingo.client.core.communication.request.invoke.AbstractODataInvokeRequest.execute(AbstractODataInvokeRequest.java:54)
	at sap.ai.st.cm.plugins.ciintegration.odataclient.CMODataSolmanClient.executeRequest(CMODataSolmanClient.java:401)
	at sap.ai.st.cm.plugins.ciintegration.odataclient.CMODataSolmanClient._createDevelopmentTransport(CMODataSolmanClient.java:379)
	at sap.ai.st.cm.plugins.ciintegration.odataclient.CMODataSolmanClient.createDevelopmentTransport(CMODataSolmanClient.java:294)
	at sap.prd.cmintegration.cli.CreateTransportSOLMAN.execute(CreateTransportSOLMAN.java:88)
	at sap.prd.cmintegration.cli.CreateTransportSOLMAN.main(CreateTransportSOLMAN.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sap.prd.cmintegration.cli.Commands.main(Commands.java:302)
	at sap.prd.cmintegration.cli.ExitWrapper.main(ExitWrapper.java:15)


Has anyone else come across this? This is the command:

/usr/sap/cm_client/bin/cmclient -e *endpoint* -u **** -p **** -t SOLMAN create-transport -cID $CHANGE_DOCUMENT