Web Developer
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting this error on function invokation logs.I have put several logs statements in code but nothing happening except this error
I have used the fcm template provided from appwrite and made some changes in it.
My code repo: https://github.com/Thre4dripper/FCM-Notification-Service
I have tested the flow with test.js script available in this repo, and its working fine when invoked locally, the forth env variable is not required so i have removed it. The flow is well tested and working locally, but not in appwrite.
Attaching the postman request with body, kindly help me out, i am blocked