
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: applications
when 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
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
