cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Datasphere CLI not working

hleboeuf
Explorer
0 Likes
1,023

Hello,

I've followed the instructions in the SAP documentation to install the CLI, but I'm afraid something goes wrong (mostly me 🙂 ).

Even just following the Youtune example https://www.youtube.com/watch?v=YcJ0G4iydu8&t=6s from SAP itself doesnt work ... always unknown command, whatever I try.

So if somebody could get me started ...

Accepted Solutions (1)

Accepted Solutions (1)

ClemSteich
Explorer

Hello, 

Correct command is: datasphere config cache init --host "<url>"

Refer to the official help for command syntaxes: https://help.sap.com/docs/SAP_DATASPHERE/d0ecd6f297ac40249072a44df0549c1a/d483a0f480af452e9dda47f885....

You can also use the built-in help with: datasphere <command> --help --host "<url>".

Here are the most commons errors and their solutions: https://community.sap.com/t5/technology-blog-posts-by-sap/faq-amp-troubleshooting-guide-for-sap-data....

Best regards,

Clément

Answers (1)

Answers (1)

Vitaliy-R
Developer Advocate
Developer Advocate
0 Likes

It looks like CLI command has changed since the recording of that video, and should include `config` like in https://www.npmjs.com/package/@sap/datasphere-cli#from-the-command-line:

datasphere config cache init -H https://mytenant.eu10.hcs.cloud.sap/ -p somepasscode

Regards.