java.io.IOException: Server returned HTTP response code: 401 for URL: https://android.googleapis.com/gcm/sendPlease ensure that API_KEY has been replaced by the server API key, and that the device's registration token is correct (if specified).

GitHub | IgorGanapolsky | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to send GCM message

    GitHub | 7 months ago | IgorGanapolsky
    java.io.IOException: Server returned HTTP response code: 401 for URL: https://android.googleapis.com/gcm/sendPlease ensure that API_KEY has been replaced by the server API key, and that the device's registration token is correct (if specified).
  2. 0

    Starting a node fails to download phantomjs

    GitHub | 10 months ago | dmfranko
    java.io.IOException: Server returned HTTP response code: 403 for URL: https://bbuseruploads.s3.amazonaws.com/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip?Signature=g3%2F1a%2FYOxMpMN9xtN6wMcvQlEOM%3D&Expires=1459973181&AWSAccessKeyId=AKIAIWY5XSVPZPDQYRQQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-1.9.8-macosx.zip%22
  3. 0

    Fresh linux server install of SpongeForge 1.8-1577-2.1-DEV-987. InvalidMixinException

    GitHub | 1 year ago | AriaFallah
    java.io.IOException: Server returned HTTP response code: 403 for URL: https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.jar.pack.xz
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 35#170751966

    GitHub | 1 year ago | vemacs
    java.io.IOException: Server returned HTTP response code: 403 for URL: https://db3-client-s.gateway.messenger.live.com/v1/users/ME/endpoints
  6. 0

    GitHub comment 2389#186869932

    GitHub | 12 months ago | mcccs
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://www.wurst-capes.tk/cosmetics/

  1. tfr 2 times, last 6 months ago
  2. davidvanlaatum 1 times, last 6 months ago
  3. pnaranja 5 times, last 8 months ago
  4. aldrinleal 1 times, last 10 months ago
29 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Server returned HTTP response code: 401 for URL: https://android.googleapis.com/gcm/sendPlease ensure that API_KEY has been replaced by the server API key, and that the device's registration token is correct (if specified).

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0()
  2. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
    2. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    3. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    3 frames
  3. gcm.play.android
    GcmSender.main
    1. gcm.play.android.samples.com.gcmsender.GcmSender.main(GcmSender.java:82)
    1 frame