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
  • 940
  • 1
  • 14
  • 29

2 Answers2

1

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.
  • 36,815
  • 10
  • 142
  • 281
1

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,822
  • 2
  • 24
  • 23