Android C2DM getting NotRegistered response


Thank you for reading my post:

I had C2DM working perfectly in my application. To test a different scenario I unregistered my phone so that it would not receive pushes anymore, and then I re-registered my phone. Since I have re-registered push does not work.

Here are the steps I'm experiencing:

<ol><li>My phone receives a registration_id with no erros</li> <li>I do a post to Google with my registration_id within a few minutes of receiving the id</li> <li>I get a response of Error=NotRegistered</li> </ol>

I don't see anything strange in LogCat during this process. I'm at a loss and any help is much appreciated.

Thank you, Matt


When you're using the C2DMMessaging class provided by Google to do push and you're calling the static method C2DMMessaging.register(Context context,String senderId), you must pass in the senderId that you registered for C2DM with.

It will still give you a registration id back from the C2DM servers if you use an account on the phone, but it will not work for your purposes.

Thanks, Matt


  • SQL Constraint that one column value cannot be greater than another in a different table
  • How to change rows to columns in MySQL [duplicate]
  • Ignore the validation failures in rspec
  • htaccess rewrite problem in IE
  • How to set cookie name dynamically in Rails controller
  • Data migration to Azure with foreign key referencing an identity column
  • How to set cookie onclick for changing background
  • Rails routing resource in namespace starting with a parameter
  • ViewExpiredException in Firefox and IE after migrating to Jboss 7.0 AS [duplicate]
  • Google Play Games not allowing user to join turn-based match
  • How can I create interrupts in C for Arduino?
  • Meteor stuck at Extracting meteor-tool@1.4.0-1
  • SignalR dependency injection via Spring.Net
  • Difficulties implementing the Hysteresis step of Canny Algorithm in Halide without define_extern fun
  • In Angular 2 how to get @Input value updated inside component?
  • Phalcon\\Mvc\\Model::validation() and non-model validators
  • Jackson mapper write id instead of entire object
  • How do I configure Maven Cargo to use an embedded Tomcat server?
  • init_seg and warning C4073 from library code?
  • Is there any way to call saveCurrentTurnWithMatchData without sending a push notification?
  • ConnectivityManager.CONNECTIVITY_ACTION deprecated
  • Angular Bootstrap Carousel Slide Transition not working correctly
  • EntLib Way to Bind “Null” Value to Parameter
  • How do I import an existing Grails 3 (3.0.12) project in IntelliJ 15
  • Django model inheritance, filtering models
  • Silverlight DependencyProperty.SetCurrentValue Equivalent
  • Sequential (transactional) API calls in angular 4 with state management
  • Force show.bind execution
  • Access Android Market through SSH tunnel
  • Marklogic : Query response time is very high
  • print() is showing quotation marks in results
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Illegal mix of collations for operation for date/time comparison
  • TFS: Get latest causes slow project reloading
  • R: gsub and capture
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Comma separated Values
  • A cron job substitute?
  • How to push additional view controllers onto NavigationController but keep the TabBar?
  • How to load view controller without button in storyboard?