I am building a Dart function, Where I have to open a CSV file inside a folder timetables the timetables folder is inside the root folder similar to the lib folder. I have added the timetables folder to pubspec.yaml. When I call the main() function without the AppWrite context, I can read the files from the folder when deployed AppWrite throws an
PathNotFoundException: Cannot open file, path = '/timetables/1_bca_a.csv' (OS Error: No such file or directory, errno = 2)
How do I access the files and folder that are not inside the lib folder and are not dart files.
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...