1
votes

I'm (attempting) to use push notifications with Android via Urban Airship.

I've register for C2DM, and received the confirmation email, generated my auth token - but when I try to send a test push notification I get this error:

C2DM push to apid ***ID number here*** failed due to invalid auth token 

How can I verify that the auth token is correct?

2
After much head scratching I finally got pushes to work using a bash script from the folks over at Urban Airship - pastebin.com/bQF7EksJ . This resolved my auth problem, but not my UA problem. Hope this helps someone. - logic-unit

2 Answers

1
votes

Is the authentication token being included in the headers of the POST? The only reasons I can think of are that the authentication token wasn't sent or is old.

0
votes

Maybe the reason is case sensitive auth-header, see:
c2dm 401 error when sending messages after receiving id and auth token

Hope that helps, regards CL