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 executions.
let endpoint = std::env::var("APPWRITE_FUNCTION_API_ENDPOINT")
.or_else(|_| std::env::var("APPWRITE_ENDPOINT"))
.map_err(|_| AppError::InternalError("Missing APPWRITE_FUNCTION_API_ENDPOINT".into()))?;
is what i am currently using as a workaround (Setting APPWRITE_ENDPOINT manually in function settings.
nice catch! Ill look into this early next week <@287294735054274560>
Thanks! <@287294735054274560> Is there any workaround available for APPWRITE_FUNCTION_API_KEY? This is set at deployment time and i dont have access to it. Everything else I have a solution
Until I fix it, sadly no nice work-around. You would need to go to project dashboard, generate API key, and store it as manual env variable
Recommended threads
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...
- 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...