Skip to Content
0

Create the user provided service failed

Aug 10, 2017 at 01:56 PM

110

avatar image
Former Member

Hello Expert,

HANA XSA create the user provided service failed.

Who can help? Thank you.

xs cups srv_slt_hana-grantor -p "{\"host\":\"linux-hana\",\"port\":\"30015\",
\"user\":\"\SRV_SLT_HANA_USER",\"password\":\"Password1\",\"driver\":\"com.sap.db.jdbc.Driver\",
\"tags\":[\"hana\"] , \"schema\":\"SRV_SLT_HANA\" }"

"Too many arguments given for command create-user-provided-service"

捕获.png (13.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Florian Pfeffer
Aug 11, 2017 at 04:46 AM
0

I think the issue is that you have forgot to escape the closing double-quote for the user name:

... \"user\":\"\SRV_SLT_HANA_USER" ... -> ... \"user\":\"\SRV_SLT_HANA_USER\" ...

Regards,
Florian

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks. Solved the issue wo backslashes.

xs cups srv_slt_hana-grantor -p "{""host"":""linux-hana"",""port"":""30015"",""user"":""SRV_SLT_HANA_USER"",""password"":""Password1"",""driver"":""com.sap.db.jdbc.Driver"",""tags"":[""hana""],""schema"":""SRV_SLT_HANA""}"

0