Do it manually via REST
id assume it's too risky to manipulate the db myself?
but it doesnt exist, so the api wont do anything
No. The deployment doesn't exist
Deployment != Function
Just delete the function
oh
curl -X DELETE
\
'https://[APPWRITE_ENDPOINT]/v1/functions/[FUNCTION_ID]'
\
-H 'Content-Type: application/json'
\
-H 'X-Appwrite-Project: [PROJECT_ID]'
\
-H 'X-Appwrite-Keys: [API_KEY]'
I'd assume this would work?
{"message":"User (role: guests) missing scope (functions.write)","code":401,"type":"general_unauthorized_scope","version":"1.5.10"}%
You made a typo
It should be X-Appwrite-Key
Same issue
the api key i used has all the permissions
Weird. It should say role: applicationswhen you use an api key
ill create a new one
see if that does anything
oop that fixed it
maybe i accidentaly pressed a key at the end o f the other one and it added a character
who knows
Hooray! All fixed!
Tysm :)))
You're welcome 🙂
and that fixed another issue I didn't even know I had lol
[SOLVED] Frontend showing Function even though it doesn't exist
Recommended threads
- "Domain verification failed"
"Domain verification failed" I was install Appwrite in my VDS server. I using Coolify for install Appwrite. After install complete, i want add my domain, and i ...
- Appwrite Sites triggers builds for all p...
I connected my Appwrite Sites to my Git app on my self hosted Appwrite server, but even though I only connected it to main branch, it creates a build every sing...
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...