graphene icon indicating copy to clipboard operation
graphene copied to clipboard

API not working

Open codeit13 opened this issue 1 year ago • 1 comments

When I try to send a post request to the API endpoint from my AWS server, it doesn't works and gives me 403 Forbidden, where same piece of code works fine in my local enviourment. Can you please help?

codeit13 avatar Nov 11 '23 05:11 codeit13

Hello! Our hosted Graphene server is running behind a Cloudflare proxy. We don't return any 403 status as seen from the source code. We also do have a Telegram bot (running on a cloud VM) but we don't encounter such issues. You can see the code here https://github.com/teknologi-umum/bot/blob/0970fd115c7a229a2369b2dc65a2e33d32e6c67d/src/services/snap/utils.js#L30-L52

aldy505 avatar Nov 12 '23 01:11 aldy505