Skip to Content
0
Jul 15, 2015 at 07:03 AM

neo bind-schema command giving error. ERROR: Acces token is invalid

32 Views

Hi All,

After running the "neo grant-schema-access" command, against a schema (created by other developer), it generates one access token as given below.

"54fk128ik6gfoasjb3dk5fvg0wrbrc5t7e93c3annqk6ippwi1"

using the above token, when I am running the command "neo bind-schema", it gives me the error, ERROR: Access token is invalid.

I am using the same access token generated by the "grand-schema-access" command.

neo bind-schema --account p0003454564trial -b abcapp -h hanatrial.ondemand.com --access-token 54fk128ik6gfoasjb3dk5fvg0wrbrc5t7e93c3annqk6ippwi1 -u myuser -s datasource -p ******

The actual exception given below.

com.sap.jpaas.infrastructure.console.ConsoleLogger: ⚠️ ERROR: Access token is invalid.

com.sap.jpaas.infrastructure.console.exception.CommandException: Access token is invalid.

at com.sap.core.tunnelcommands.framework.executor.DefaultResponseConsumingStrategy.throwCommandExceptionWithContentInfoAndLog(DefaultResponseConsumingStrategy.java:92)

at com.sap.core.tunnelcommands.framework.executor.DefaultResponseConsumingStrategy.throwCommandExceptionWithContentInfoAndLog(DefaultResponseConsumingStrategy.java:56)

at com.sap.core.tunnelcommands.framework.executor.DefaultResponseConsumingStrategy.throwCommandExceptionWithContentInfoAndLog(DefaultResponseConsumingStrategy.java:51)

at com.sap.core.persistence.commands.BindingRequestExecutor$BindingConsumer.consume(BindingRequestExecutor.java:70)

at com.sap.core.tunnelcommands.framework.executor.CommandTunnelRequestExecutor.executeRequest(CommandTunnelRequestExecutor.java:89)

at com.sap.core.tunnelcommands.framework.executor.CommandTunnelRequestExecutor.executeRequest(CommandTunnelRequestExecutor.java:39)

at com.sap.core.persistence.commands.BindingRequestExecutor.runBind(BindingRequestExecutor.java:233)

at com.sap.core.persistence.commands.BindSchemaCommand.run(BindSchemaCommand.java:43)

at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:183)

at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:144)

at com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ConsoleClient.java:226)

at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:174)

at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:69)

Anybody has any idea on this issue.

Thanks,

Srikanta Satapathy