SAP Document Management Service: Create Internal Repository

Hi,

i want to create an respository via API, as descriped here:https://help.sap.com/docs/document-management-service/sap-document-management-service/onboarding-repository?locale=en-US

POST https://…..hana.ondemand.com/rest/v2/repositories

{
  “repository”: {
    “displayName”: “my name”,
    “description”: “my description”,
    “repositoryType”: “internal”,
    “isVersionEnabled”: “true”,
    “isVirusScanEnabled”: “true”,
    “skipVirusScanForLargeFile”: “false”,
    “isThumbnailEnabled”: “false”,
    “hashAlgorithms”: “SHA-256”,
    “isContentBridgeEnabled”: “true”,
    “externalId”: “53b612b8-8253-4aea-bccf-4cc03ef5190b”,
    “repositoryParams”: [
      {
        “paramName”: “classificationEnabled”,
        “paramValue”: “true”
      }
    ]
  }
}
 
But I get 500 Internal Server Error:
{“message”:”Error in OnBoarding Repository: Exception During Connecting to ECM Repo”}
 
What could be wrong?
Where can I look what this error is caused by?
 
Thank you,
Andreas

 

Scroll to Top