Support Topics Documentation Slack YouTube Blog

HttpEngine: INVALID statusCode 404


(Vandan Javiya) #1

Hello Sir ,

I am working with backendless .

I have updated SDK to latest one. But i am gettings errors based on Topic. Every API giving me error.

Please check attachment for code done by us.
Intialisations :

static NSString *APP_ID = @“XXX”;

static NSString *SECRET_KEY = @“YYY”;

static NSString *BACKENDLESS_API_URL = @“http://abc.abc.com:80/api/v3”;

[backendless setHostUrl:BACKENDLESS_API_URL];

[backendless initApp:APP_ID APIKey:SECRET_KEY];

Here is code which we have done for login.

[backendless.userService login:/@“bob@foo.com”/self.emailTextField.text password:/@“bob”/self.passwordTextField.text response:^(BackendlessUser *user) {
NSArray *roles = [backendless.userService getUserRoles];
NSLog(@"ROLES: %@ ", roles);
[backendless.userService setStayLoggedIn:YES];
[backendless.data findByClassId:[BackendlessUser class] objectId:backendless.userService.currentUser.objectId response:^(id object) {
BackendlessUser user = (BackendlessUser)object;
[backendless.userService.currentUser updateProperties:[user getProperties]];
[self performSegueWithIdentifier:@“showMainScreenFromLogin” sender:self];
} error:^(Fault *fault) {

    }];

} error:^(Fault *fault) {
    NSLog(@"FAULT: %@", fault);

}];

Please help us what is wrong we have done in this.


(Mark Piller) #2

Hello,

It appears you are working with a self hosted vers6of Backendless. That version requires that a product is licensed before we can provide support. Please contact sales@backendless.com to purchase a license.

Regards,
Mark


(Vandan Javiya) #3

@mark-piller

What licence we need to buy ?

We already hosted on our server .


(Mark Piller) #4

A license to get support and to run the server