[SOLVED] Frontend showing Function even though it doesn't exist
- 0
- Resolved
- Self Hosted
- Functions
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
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Git connection is not working anymore on...
Hello all, I updated from 1.8.1 to 1.9.0 then 1.9.5. All seems to work even the Github connection. In Git configuration I see my Github user but when trying to...