UserService.login. errorMessage: User cannot be logged in
Unable to save object - invalid data type for properties - priceInCoins. You can change the property type in developer
(remark: even though the types are the same - int)
It’s rather difficult to explain these errors without exact examples or steps to reproduce, for example the most frequent one may be because of lots of reason, including bad internet connection.
If its possible, please provide more details on each of the errors so that we could better understand how to investigate this.
These errors happen when querying backendless (except for 2 of them that have to do with login).
for example making this query:
QueryOptions queryOptions = new QueryOptions();
BackendlessDataQuery dataQuery = new BackendlessDataQuery(GiftCardRedeem.COL_USER_ADVERTISING_ID + " like ‘" + userAdvertisingId + "’");
queryOptions.addSortByOption(GiftCardRedeem.COL_DATE_OF_REQUEST + " DESC");
dataQuery.setQueryOptions(queryOptions);
dataQuery.setPageSize(Consts.BACKENDLESS_QUERIES_PAGE_SIZE);
Backendless.Data.of(Consts.TABLE_GIFT_CARD_REDEEMS).find(dataQuery, callback);
Cheers!
Please, can you create a project with correct example to reproduce your problem.
Besides the code, you were placed, we need data on which this behavior is reproduced.