E_INTERNAL_SERVER_ERROR
I am getting this error when i am hitting the documentum API."{
"status": 401,
"code": "E_INTERNAL_SERVER_ERROR",
"message": "An internal server error occurs.",
"details": "Authentication failed.",
"id": "10e67371-7cde-4ab5-b961-b8f8f1d5c07d"
}"
I know this is because of fail authentication but which auth credentials i have to pass .
Comments
-
Here's link to 16.4 version:
0 -
Its not given in these documents.I am trying to run this API "http://localhost:8080/dctm-rest/repositories/repo" in postman . What authentication credentials i need to pass.
0 -
Hi,
Documentum Platform REST Services supports different authentication types. You can start from basic authentication. Refer to Documentum REST Dev guide: https://knowledge.opentext.com/knowledge/llisapi.dll/Open/72207163MEOW
0 -
[Administrative: duplicate thread https://forums.opentext.com/forums/discussion/230918/ now closed.]
Martin van Rappard
Technical Support Engineer III
OpenText0 -
Hi,
I tried basic auth with ootb dctm-rest service (without any modification) as described in documentation. I just set dfc.properties values and deployed dctm-resp app on tomcat.
I used following python3 script to call dctm-rest service:DCTMRESTtest.py:
import urllib.request,urllib.response,urllib.parse import base64 import json # Documentum_Platform_REST_Services_16.4_Development_Guide Example 5-1. Username/password Pair for dmadmin/password # GET /${resource-url} HTTP/1.1 # Authorization: Basic ZG1hZG1pbjpwYXNzd29yZA== # Authorization: Basic BASE64{${username}:${password}} ulr=urllib.request user="dmadmin" password="P1$$w0rd" creds=user+":"+password authHeader=str(base64.b64encode(bytes(creds, encoding="utf-8")).decode('utf-8')) print("Getting reository resource...") url="http://myserver:8080/dctm-rest/repositories/myrepository" headers={ 'Content-Type': 'application/hal+json;charset=UTF-8', 'Authorization': 'Basic '+authHeader, 'Accept': 'application/json' } data=None req=ulr.Request(url,data,headers) f = urllib.request.urlopen(req) apps_json=json.loads(f.read().decode('utf-8')) print(apps_json)
MEOW
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management