1

I want to persist a Employee in my Backendless app:

Backendless.initApp(APP_CODE, REST_SECRET, version);

Employee e = new Employee(1, "Bonifacio Johnson");

Backendless.Persistence.save(e, new BackendlessCallback<Employee>(){

  @Override
  public void handleResponse(Employee employee) { //Do something }

  @Override
  public void handleFault(BackendlessFault fault) { //Do something }

});

This code is not in Android app, but in Java server.

I get this fault:

BackendlessFault{ code: 'Internal client exception', message: 'api.backendless.com' }

Am I right using REST secret? How can I obtain more info about the error?

4

1 回答 1

0

当您在纯 Java 中使用 Backendless Android SDK 时,您仍然需要设置 Android 密钥。

于 2016-02-17T11:57:49.703 回答