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
Recommended threads
- Re-connect site to domain verification f...
I have mistakenly deleted appwrite site without removing domain. Now I created same site and want to re-connect my domain. It gives this error while verify. How...
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...
- AttributeError: 'Context' object has no ...
I'm getting an error executing my function. I'm not able to replicate this locally since I have to use a mock context. Is there a way to debug this kind of erro...