[SOLVED] Error Function Send OTP ( FUNCTION ID ) not found in the current directory. Skipping ...
- 0
- Functions

is there anything wrong with my path ?

"functions": [ { "$id": "Function ID", "name": "Send OTP", "runtime": "node-16.0", "path": "functions/Send OTP", "entrypoint": "src/send_otp.js", "ignore": [ "node_modules" ], "execute": [ "any" ], "events": [], "schedule": "", "variables": { // variables } } ]

this is the functions part of my appwrite.json

even after this i get a

this

That's weird...I think that's an invalid ID

Maybe you're pointing to a different server?
Check the content of ~/.appwrite/prefs.json

Thanks a lot all for responding I forgot updating the status of this issue

It has been resolved the issue was caused as I was using appwrites CLI and did not use the default command to build a function's project hence the paths in the appwrite.json did not match to the actual code file hence the cli could not find the file which was to be deployed hence the deployement step was skipped though environment varibles were set the function was accessed but nothing was deployed also for the next query would try to provide more info on the issue I just realised for this one did not even provide a full screen shot of the output for the deploy command

Solved by providing the right paths in the appwrite.json

Sincere Thanks @Binyamin @Steven

[SOLVED] Error Function Send OTP ( FUNCTION ID ) not found in the current directory. Skipping ...
Recommended threads
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
