Firebase suddenly started to reject push to Android

1,002 views
Skip to first unread message

Evgeniy Mishustin

unread,
Jan 20, 2021, 9:50:12 AM1/20/21
to Firebase Google Group
Error message is "InvalidParameters: "aps" key is not permitted"
It worked for an year until last night.
What happened ? 

Arthur Thompson

unread,
Jan 20, 2021, 11:33:22 AM1/20/21
to fireba...@googlegroups.com
Hi Evgeniy,

Which API are you using, Legacy or V1?

aps is an allowed field so you should not get an error due to using it. It could be an issue with the content of the aps object would you mind sharing an example of the payload that is failing?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c3d12c45-4f05-4016-b276-4c2ab87c05b9n%40googlegroups.com.

Evgeniy Mishustin

unread,
Jan 20, 2021, 12:19:15 PM1/20/21
to Firebase Google Group
Hi, Arthur, thanks for the response.
The payload goes like this :
"aps": {
  "alert": {
    "title": "foo",
    "body": "bar"
  }
"data" :{
 //some data key-value pairs
}
}
The most intrigue thing is that worked until Jan 18 and then we saw increasing number of failures each hour and today we've reached 100% of failures.

Evgeniy Mishustin

unread,
Jan 20, 2021, 12:19:18 PM1/20/21
to Firebase Google Group
We are using Legacy API still.

On Wednesday, 20 January 2021 at 18:33:22 UTC+2 arthurt...@google.com wrote:

Arthur Thompson

unread,
Jan 20, 2021, 12:51:34 PM1/20/21
to fireba...@googlegroups.com
This is a known issue and a fix is being rolled out. Sorry for the inconvenience on this.

Evgeniy Mishustin

unread,
Jan 20, 2021, 12:54:44 PM1/20/21
to Firebase Google Group
Thanks for your answer, Arthur, is there an ETA ?

Arthur Thompson

unread,
Jan 20, 2021, 12:59:36 PM1/20/21
to fireba...@googlegroups.com
I can't give an exact date (sorry about that). I can only confirm that it is rolling out.

Evgeniy Mishustin

unread,
Jan 20, 2021, 1:25:41 PM1/20/21
to Firebase Google Group
Thank you very much for you quick response. 

Hubert Wang

unread,
Jan 22, 2021, 5:28:40 AM1/22/21
to Firebase Google Group
Looks like it's still not working.
Can I say this issue only impact legacy API.
If we migrate to V1, the issue will be solved?

evgen...@gmail.com 在 2021年1月21日 星期四上午2:25:41 [UTC+8] 的信中寫道:

arthurt...@google.com

unread,
Jan 22, 2021, 4:39:47 PM1/22/21
to Firebase Google Group
V1 should not be impacted by this issue.

Arthur Thompson

unread,
Jan 22, 2021, 6:16:58 PM1/22/21
to Firebase Google Group
Actually looks like this is also impacting v1 API. The fix is rolling out so should be resolved shortly.

Arthur Thompson

unread,
Jan 22, 2021, 6:55:48 PM1/22/21
to Firebase Google Group
Evgeniy would you mind sharing a full request example, just to be sure how you are running into this issue.

張凱傑

unread,
Jan 23, 2021, 11:11:26 AM1/23/21
to Firebase Google Group
It seems the service is back. Have you roll out the fix?

arthurt...@google.com 在 2021年1月23日 星期六上午7:55:48 [UTC+8] 的信中寫道:

Arthur Thompson

unread,
Jan 25, 2021, 12:36:54 PM1/25/21
to Firebase Google Group
Hi,

I can confirm that the fix is out and should be working as expected.

Reply all
Reply to author
Forward
0 new messages