SAP Knowledge Base Article - Preview

3753399 - Logging into Datasphere via CLI fails with the error "Did not receive a code within 30 seconds"

Symptom

  • When logging into SAP Datasphere via CLI using an OAuth client (Interactive Usage), the Command Prompt returns the following errors: 
    Did not receive a code within 30 seconds. Did you maintain the redirect URI for the OAuth client as http://localhost:8080 in SAP Datasphere? 
    Failed to log in to your account using interactive OAuth authentication
  • If setting the log level to 6 with the following command:
    set LOG_LEVEL=6
    datasphere login [options]

    The following information can be found in the log file: 
    Failed to open browser browser Error: <Browser name> is not supported as a default browser


Read more...

Environment

SAP Datasphere

Product

SAP Datasphere all versions

Keywords

datasphere cli, oauth login, interactive oauth, redirect uri https://localhost:8080, browser not recognized, login timeout, authorization code flow, cache error, cli authentication , KBA , DS-API-CLI , SAP Datasphere Command-Line Interface , DS-SEC-AUTZ , Authorizations (Locks, etc.) , 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.