SAP Knowledge Base Article - Public

3673286 - SAC: Error when creating HTTP API connection

Symptom

Unable to connect to undefined with error: HTTP API. Check the connection details and user credentials then try again.
 
HAR trace:
"{\"error\":{\"code\":\"ERROR_AUTHENTICATION_FAILURE\",\"rawError\":\"Authentication Failed:
{\\\"error\\\":\\\"invalid_client\\\",\\\"error_description\\\":\\\"Bad credentials\\\"}\",\"params\":[]}}" 

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Create Oauth Client
  2. Create HTTP API Connection

Cause

Missing OAuth client configuration

Resolution

  1. Go to System Administrator > App Integration.
  2. Create a new OAuth Client. 
  3. Change to purpose to API Access.
  4. Select the APIs you want to consume.
  5. Change Authorization Grant type to Client Credentials.
  6. Please see sample:

See Also

  1. Use Multi Actions to call SAP Analytics Cloud REST APIs
  2. 3407120  Checkpoints for Multi Action API

Keywords

Multi Action API POSTMAN URL 401 403 OAuth 2.0 SAML Bearer Assertion OAuth 2.0 Authorization Code Grant OAuth2SAML Token URL request response code status 400 403 401 404 multi action multiaction sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software, multiaction, multiactions Authorize code CSRF Token CPI cloud integration HttpResponseException failed fail unauthorized  Failed to get Response from Connectivity Service oauth/token oauth token adapter http api exception https api/v1/multiActions PaPM Cloud  [Multi-actions] Request_ID status failed accept multiActionId parameterValues BTP BTP Process Automation HTTP API Unable to connect to undefined with error: HTTP API. Check the connection details and user credentials then try again ERROR_AUTHENTICATION_FAILURE invalid_client Bad credentials , KBA , LOD-ANA-PL-MA , Multi Actions , LOD-ANA-ADM , SAC Administration , Problem

Product

SAP Analytics Cloud 1.0