connectivity-samples icon indicating copy to clipboard operation
connectivity-samples copied to clipboard

Could not subscribe, status = Status{statusCode=unknown status code: 2806, resolution=null}

Open lahoti-clicklabs opened this issue 9 years ago • 4 comments

I am getting this error after subscribing. My google api client is initialized . I have added the api key both with and without the SHA 1 fingerprint. I still can't figure out why it is not able to subscribe

lahoti-clicklabs avatar Jun 14 '16 11:06 lahoti-clicklabs

https://developers.google.com/android/reference/com/google/android/gms/nearby/messages/NearbyMessagesStatusCodes

lahoti-clicklabs avatar Jun 14 '16 11:06 lahoti-clicklabs

It says it can't be resolved at my end. What shall i do ?

lahoti-clicklabs avatar Jun 14 '16 11:06 lahoti-clicklabs

In my case, the reason I got this error code (FORBIDDEN) was because I forgot to enable the Nearby Messages API in the Google API Console, just generated an API key.

ofalvai avatar Sep 17 '16 10:09 ofalvai

This is because the API KEY I have the same problem put solved when I defined the API key for Android and filled the SHA1 and the App package Name
After That it worked with me ...

waged avatar Nov 29 '17 17:11 waged