Hi all,
I try to use API of DMC.
When i use the API "Lists all schemas in the database" (example)
curl -X GET \
https://{HOSTNAME}/dbapi/v4/schemas \
-H 'authorization: Bearer {AUTH_TOKEN}' \
-H 'content-type: application/json' \
-H 'x-db-profile: SOME_STRING_VALUE'
I receive this error:
{
"trace":"",
"errors":[{"code":"required_credential_not_found",
"message":"HWCCON0071E: Failed to create connection for the profile XBODI because the login credentials are invalid or missing.",
"target":{"type":"","name":""},
"more_info":""}]
}
In DMC logs:
DS_System (208349) XBODI dbm_batch_usr_tst Mar 16, 2020 6:12:35 PM [9745896aa62f810de1064f99a9584e62] WARNING CredentialApi::getCredentialInternal can not find credentials for profile XBODI
Why i receive this error?
Thanks for support,
Best regards
MM
------------------------------
MM
------------------------------
#Db2