3

I want to identify how many topics a single device is subscribed to. Then I found and followed this post. I don't know if I follow it right because i receive this message

{"error":"MissingAuthorization"}"

Here are the steps:

  1. Get token from the device
  2. Generate a URL: https://iid.googleapis.com/iid/info/<paste token here>
  3. Copy-paste the URL to the browser
  4. Get the response.

I don't know if I'm doing something wrong. I hope someone can help me solve this problem.

Community
  • 1
  • 1
khoi
  • 464
  • 1
  • 7
  • 20

2 Answers2

0

It's saying that there is no authorization specified. Make sure you're including the Authorization:key=<Server API key here> in your request, where the Server Key is the one found in your Firebase Console, under Cloud Messaing tab.

AL.
  • 33,241
  • 9
  • 119
  • 257
0

Yeah this how you check Add the KEY=

U forgetting to put the Authorization starting with "KEY=BLALALALALA"

Authorization enter image description here

Goodlife
  • 3,263
  • 1
  • 20
  • 22