SAP Knowledge Base Article - Preview

2746659 - How to interpret SAP Cloud Connector REST API call for High Availability Settings - Illegal setup attempt (role already defined)


There are two SAP Cloud Connectors (SCC) for High Availabity (HA) setup:

https://<Master Instance>:8443/
https://<Shadow Instance>:8443/

If an HTTP GET request is done:

https://<Shadow Instance>:8443/api/v1/configuration/connector/haRole

the following HTTP response comes back:

200 - shadow

While sending an HTTP POST method:

https://<Shadow Instance>:8443/api/v1/configuration/connector/haRole

with json body:

haRole = "master"

the following HTTP response comes back:

 "type": "ILLEGAL_STATE",
 "message": "Illegal setup attempt (role already defined)"



  • SAP Cloud Platform Connectivity
  • SAP Cloud Connector


SAP Connectivity service all versions


Illegal setup attempt, role already defined, ILLEGAL_STATE, High Availabity, REST API, rest api call , KBA , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.