Hello everyone, I'm experiencing intermittent 501 errors with FCM push notifications since August 13th.
I've noticed some responses suggesting upgrading the SDK version, but I'm using Ruby and have already implemented the REST API with http_v1.
My current implementation sends batches of 500 messages to the endpoint
https://fcm.googleapis.com/batch.I'm wondering if this endpoint might be approaching deprecation, which could be causing these issues.However,
1. The Go Admin SDK version 4 still appears to be using the same
https://fcm.googleapis.com/batch endpoint.
2. The official Firebase documentation (
https://firebase.google.com/docs/cloud-messaging/send-message?hl=en#rest_1) shows curl requests being made to this endpoint, indicating it should still be valid.
So I'm not entirely sure if this is the root cause of the problem. Has anyone else encountered similar issues or have insights into what might be causing these 501 errors?
Any advice or suggestions would be greatly appreciated.
Additional details:
- Using Ruby for implementation
- Already migrated to http_v1
- Sending batches of 500 messages
- Errors started occurring from August 13th
- Errors are intermittent, not consistent
- The 501 error occurs in about 25% of requests
- Sometimes the error resolves upon retrying the request
Thank you in advance for any help!