Title: Message
Last modified: August 22, 2016

---

# Message

 *  [mobileteste86](https://wordpress.org/support/users/mobileteste86/)
 * (@mobileteste86)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/message-4/)
 * Hello dude,
 * I’m testing your plugin and am getting the following message:
 * “Google Cloud Messaging
    Message sent. (test test test)
 * Unauthorized
 * Error 401″
 * I followed step by step the documentation.
 * [https://wordpress.org/plugins/wp-gcm/](https://wordpress.org/plugins/wp-gcm/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [code7](https://wordpress.org/support/users/pixelart-dev/)
 * (@pixelart-dev)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/message-4/#post-5440095)
 * Hi,
 * please check again that: Did you created a Browser Key? Maybe you created a Server
   Key instead. If so please create a Browser Key.
 * If this wasn’t the problem, maybe whitelist your Server IP will help.
 * hope it helped you.
 *  Thread Starter [mobileteste86](https://wordpress.org/support/users/mobileteste86/)
 * (@mobileteste86)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/message-4/#post-5440146)
 * I tested with Browser Key and Server Key, both don’t work…
 * My blog test is blog.cideas.com.br
 * GCM:
 * Key for browser applications
    API KEY AIzaSyC5hKMuZf8XpPbDDg4nMr_A-Ev8aO3MRUg
   REFERERS *cideas.com.br/* ACTIVATION DATE Nov 3, 2014, 5:57:00 AM ACTIVATED BY
   [mobileteste86@gmail.com](https://wordpress.org/support/topic/message-4/mobileteste86@gmail.com?output_format=md)(
   you)
 *  Plugin Author [code7](https://wordpress.org/support/users/pixelart-dev/)
 * (@pixelart-dev)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/message-4/#post-5440152)
 * Ok.
    You definitely need browser key. Server key won’t work.
 * Check this site out. There are thr most common problems listed:
    [http://stackoverflow.com/a/11903863/2761273](http://stackoverflow.com/a/11903863/2761273)
 * Maybe your server IP is not whitelisted?
 *  Thread Starter [mobileteste86](https://wordpress.org/support/users/mobileteste86/)
 * (@mobileteste86)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/message-4/#post-5440168)
 * I removed the IP from the list and it worked perfectly.
 * Now, i have a new error.
 * “Message sent. (Test;[http://blog.cideas.com.br/test/;58;author](http://blog.cideas.com.br/test/;58;author);)
 * success: 1 fail: 0
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/cideasco/public_html/blog/wp-content/plugins/wp-gcm/options.php:207)
   in /home/cideasco/public_html/blog/wp-admin/post.php on line 233
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/cideasco/public_html/blog/wp-content/plugins/wp-gcm/options.php:207)
   in /home/cideasco/public_html/blog/wp-includes/pluggable.php on line 1173″
 *  Plugin Author [code7](https://wordpress.org/support/users/pixelart-dev/)
 * (@pixelart-dev)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/message-4/#post-5440196)
 * strange, we can not reproduce this error.
    But maybe in the latest version it
   is fixed, because we changed some code in the options.php.
 *  [soyrod](https://wordpress.org/support/users/soyrod/)
 * (@soyrod)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/message-4/#post-5440273)
 * I’m experiencing the same error
 * Warning: Invalid argument supplied for foreach() in /homepages/2/d525113142/htdocs/
   clickandbuilds/Tema106/wp-content/plugins/wp-gcm/options.php on line 285
 * Warning: Invalid argument supplied for foreach() in /homepages/2/d525113142/htdocs/
   clickandbuilds/Tema106/wp-content/plugins/wp-gcm/options.php on line 291
 * Warning: Cannot modify header information – headers already sent by (output started
   at /homepages/2/d525113142/htdocs/clickandbuilds/Tema106/wp-content/plugins/wp-
   gcm/options.php:285) in /homepages/2/d525113142/htdocs/clickandbuilds/Tema106/
   wp-admin/post.php on line 235
 * Warning: Cannot modify header information – headers already sent by (output started
   at /homepages/2/d525113142/htdocs/clickandbuilds/Tema106/wp-content/plugins/wp-
   gcm/options.php:285) in /homepages/2/d525113142/htdocs/clickandbuilds/Tema106/
   wp-includes/pluggable.php on line 1196
 *  Plugin Author [code7](https://wordpress.org/support/users/pixelart-dev/)
 * (@pixelart-dev)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/message-4/#post-5440276)
 * [@soyrod](https://wordpress.org/support/users/soyrod/)
 * We don’t support anymore this plugin. If you still need it with more functions
   and constant updates, visit: [Click](http://codecanyon.net/item/wp-google-cloud-messaging/9942568?ref=PixelartDev)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gcm.svg)
 * [WP GCM](https://wordpress.org/plugins/wp-gcm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gcm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gcm/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gcm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gcm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gcm/reviews/)

## Tags

 * [gcm](https://wordpress.org/support/topic-tag/gcm/)
 * [unauthorized](https://wordpress.org/support/topic-tag/unauthorized/)

 * 7 replies
 * 3 participants
 * Last reply from: [code7](https://wordpress.org/support/users/pixelart-dev/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/message-4/#post-5440276)
 * Status: not resolved