"Error 401: GCM authentication error"

adi wibowo's Avatar

adi wibowo

02 Jun, 2018 04:26 PM

hi , please help me to solve my problem above. i have already run the app, the device also shown in the list. one thing that make me confuse is from this link http://www.airbop.com/tutorials/adding-airbop-to-your-app, start from GCM .jar, application manifest etc.
should we pass all of that step and do that from android studio? all of that xml editing code really strange and difficult to understand .

thank you very much for your help.

  1. Support Staff 1 Posted by Darryl Hnatiuk on 04 Jun, 2018 01:22 PM

    Darryl Hnatiuk's Avatar

    Hi,

    It looks like you're using AirBop with Andromo, so in that case you just need to follow the instructions in the following article:

    http://support.andromo.com/kb/common-questions/airbop-push-message-...

    The instructions you were looking at are if you're integrating AirBop in your app yourself. Integration is already done for Andromo apps.

    Darryl

  2. 2 Posted by adi wibowo on 04 Jun, 2018 02:45 PM

    adi wibowo's Avatar

    You are right, i'm using andromo apps. I also have registered 3 device (
    eventhough i just install the app in just 1 device).

    1 have tried send 3 messages and the result atau the same blm error.

    Could you help me to find where was the missing step so that the message
    sent successfully.

    Should i attach the .apk or some screenshoot?

    Thanks

  3. Support Staff 3 Posted by Darryl Hnatiuk on 04 Jun, 2018 03:12 PM

    Darryl Hnatiuk's Avatar

    Hi,

    If you're receiving a 401 Error, it means that one or more of your IDs is incorrect.

    You'll want to go through the following article again, making sure that you follow the steps exactly. You're likely entering the wrong ID somewhere, maybe the "Sender ID" from the Firebase console:

    http://support.andromo.com/kb/common-questions/airbop-push-message-...

    As far as the registered devices, to clear it out, uninstall your app from your device, then send a new message with "Dry run" checked. You can find further information about that setting in the following kb topic:

    http://support.airbop.com/kb/dashboard/sending-a-new-message

    Darryl

  4. 4 Posted by adi wibowo on 05 Jun, 2018 04:34 AM

    adi wibowo's Avatar

    Thanks darryl, finally i get the notifications.

    Can i ask you another thing, can we set the notification to poping up just like when we receive notification from google if our username login in new device?

  5. Support Staff 5 Posted by Darryl Hnatiuk on 05 Jun, 2018 01:35 PM

    Darryl Hnatiuk's Avatar

    Hi,

    I'm having trouble understanding your question. If you're asking if you can display a prompt for a username, or any other type of login credentials within the notification, then no, that's not something you can do.

    Darryl

  6. 6 Posted by adi wibowo on 05 Jun, 2018 03:05 PM

    adi wibowo's Avatar

    What i mean is, can we make the message pop up just like whatsapp
    notification, as example in my screenshoot below.
    Thanks

  7. 7 Posted by adi wibowo on 05 Jun, 2018 03:07 PM

    adi wibowo's Avatar

    Sore, i forgot attaching the file

  8. Support Staff 8 Posted by Darryl Hnatiuk on 05 Jun, 2018 03:20 PM

    Darryl Hnatiuk's Avatar

    Hi,

    No I'm sorry it's not possible to show the content of the notification upon receiving it, or it's visual appearance when using AirBop with Andromo.

    Darryl

  9. 9 Posted by adi wibowo on 05 Jun, 2018 03:32 PM

    adi wibowo's Avatar

    Ok thanks for the information and your help darryl.

  10. Darryl Hnatiuk closed this discussion on 05 Jun, 2018 03:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac