Skip to main content
Version: 6.0.0

IsDeviceBlockError

Description

When a 403 blocked device error occurs because the device in use is on BACKND Console's blocked devices list, 'true' is returned.

The included error case is as follows:

  • When the device is blocked
    statusCode : 403
    errorCode : ForbiddenException

Example

BackndReturnObject bro = Backnd.PlayerTable.Get("tableName");
if(bro.IsSuccess() == false) {
if(bro.IsBadAccessTokenError()) {
var bro2 = Backnd.Player.ReSignIn();

if(bro2.IsSuccess() == false && bro2.IsDeviceBlockError()) {
Debug.Log("The device has been blocked.");
}
}
}