Getting EstimoteDeviceException: 403 Forbidden


When clicking CHANGE BEACON’S MINOR DEMO and selecting a beacon and in CharacteristicsDemoActivity when trying to create a ConnectionCallBack for the selected beacon it gives an error stating,

com.estimote.sdk.exception.EstimoteDeviceException: 403 Forbidden

The error log is:

com.estimote.sdk.exception.EstimoteDeviceException: 403 Forbidden
at com.estimote.sdk.connection.BeaconConnection$1.failure(
at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.CallbackRunnable$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(
Caused by: com.estimote.sdk.exception.EstimoteServerException: 403 Forbidden
... 10 more
Caused by: com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RetrofitError: 403 Forbidden
at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RestAdapter$RestHandler.invokeRequest(
at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RestAdapter$RestHandler.access$000(
at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RestAdapter$RestHandler$1.obtainResponse(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.Platform$Android$2$

What can I do here?

403 Forbidden means that you have no authorisation to connect to the beacon.

In case of Demos app, in the UI there should be written that you might forgot to set your appId and appToken in DemoApplication class.

Thanks for the reply.

Actually I have added an app in the cloud and specified that in the app too.

Had to create an app several times and finally connected to the cloud. Thanks for the help.

I understand that it still does not work.

Can you
1/ provide your Estimote Cloud login? You can send me it privately if you want (wiktor at estimote dot com).
2/ what is MAC address of the beacon? You can also find it by using Estimote app from Play Store.


It connected with a newly created app. I think it’s fine, isn’t it?

Yup. That’s very fine. Splendid :slight_smile:

1 Like