SAP Knowledge Base Article - Public

2434025 - "Error: Error 400 (OAuth2 Error)!!1" connecting to Google Drive in SAP Analytics Cloud

Symptom

  • When trying to connect to Google Drive in SAC, the following error message appears: 
      "Error: 400 (OAuth2 Error)!!1"
    requestdetails1.png
  • If you try to create a new model using Google Drive, we may see the following message:
    "To enable this feature, please contact us at SAPAnalyticsCloud.CX@sap.com indicating the URL you are using to access your SAP Analytics Cloud system.
    ErrorGoogleDrive.png

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP Analytics Cloud
  • Google Drive

Reproducing the Issue

  1. Logon to SAP Analytics Cloud
  2. Select the menu Create > Model
  3. Choose the option Get data from an app
  4. Select Google Drive
  5. Click on Select Data
  6. Error message appears

    error.png

Cause

The Tenant URL has not been added to the list of OAuth allowed web applications in order to access Google Drive

Resolution

  1. Please Email the SAP Analytics Cloud Customer Experience Team at: SAPAnalyticsCloud.CX@sap.com
  2. Make sure that you provide your Tenant URL in the Email
  3. Ask SAP to add your Tenant URL to the list of the OAuth allowed web applications

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

EPM, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Hana Cloud for Planning, EPM-ODS, Cloud for Analytics, C4P, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, HCP, C4A, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJ, BOBJcloud, BOCloud., BICloud, BO Cloud, connecting, conecting, conectando, conexão, modelo, SBOC, error, origin, mismatch, origin_mismatch,  OAuth2, 400. That's an error, Error 400, Google, Drive , KBA , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predictive , Problem

Product

SAP Analytics Cloud 1.0