this what i needed thanks ๐
What will be the execution permission for domain based functions?
you'll have to grant everyone access
@Steven i created a custom domain for my function and also given public access
still im getting this error
Is this on cloud?
self hosted
this is the error
[Error] Timestamp: 2023-11-04T16:14:40+00:00
[Error] Method: POST
[Error] URL: /v1/functions/:functionId/executions
[Error] Type: Appwrite\Extend\Exception
[Error] Message: This domain is not connected to any Appwrite resource yet. Please configure custom domain or function domain to allow this request.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 67
Warning: Trying to access array offset on value of type null in /usr/src/code/app/controllers/general.php on line 158
[Error] Timestamp: 2023-11-04T16:14:40+00:00
[Error] Method: GET
[Error] URL: /console/*
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Execution error:
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 159
this is the domain status
What version of Appwrite?
1.4.9
This is in the function?
yes
but i dont need certificate bec im already reverse proxying
Maybe something is wrong with your function. What's your function code?
its just starter node js template
Share please.
Also this function was created after upgrading to 1.4, right?
yes it was
Do you see anything in the executions tab?
its not trigerring any execution
i dont have the source code.. i just uploaded it and deleted.. its just fresh node js starter template
Something is wrong with the _APP_DOMAIN_FUNCTIONS env var you set and the custom domain you added. Are they the same/similar?
oh my bad.. it was configured wrongly
[SOLVED] How to configure function to receive external webhook
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...