I am implementing a Function using Node . but while I am hitting the API it's giving authentication
- 0
- Web
Can anyone please help me with this issue?
can you show your index.js
Sure
Already given the screen shot
are you sure the app is running on localhost port 3000?
error code 500 means it's a server issue
nothing related to code tbh
for run the server I have followed this https://github.com/open-runtimes/open-runtimes/tree/main/runtimes/node-18.0
let me share my terminal Screen shot
please don't tag people just because you need help with something as it's very disruptive
sorry for this 😦
what did you put in the request headers?
I haven't put anything
if runtime says it needs an INTERNAL_RUNTIME_KEY and you don't pass the same value as the X-Internal-Challenge header you'll get a unauthorized error. Please make sure you read through https://github.com/open-runtimes/open-runtimes/tree/main/runtimes/node-18.0#local-development carefully
Okay let me check and Thank you 🙂
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...