Skip to main content
Version: 5.11.8

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

BackendReturnObject bro = Backend.GameData.Get("tableName", new Where());
if(bro.IsSuccess() == false) {
if(bro.IsBadAccessTokenError()) {
var bro2 = Backend.BMember.RefreshTheBackendToken();

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