Symptom
- In Datasphere, an API task is created in task chain to trigger SAC multi-action API.
- API task test run fails with error: “Failed to fetch the access token … Status Code: 401, Status Message: Unauthorized”.
- Payload in error message: {"error":"unauthorized","error_description":"An Authentication object was not found in the SecurityContext"} or {"error": "invalid_client", "error_description": "Unauthorized grant type"}
Read more...
Environment
- SAP Datasphere
- SAP Analytics Cloud
Product
SAP Datasphere 1.0
Keywords
SAP Datasphere, SAP Analytics Cloud, 401 unauthorized, failed to fetch access token, oauth, mismatch, client credentials, authorization code, saml bearer assertion, multi-actions api, generic http connection, api task, csrf token, invalid_client, unauthorized grant type, api task, task chain , KBA , DS-DI-SCH , Scheduling and Task Chains , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview