
tried to upload my site on netlify with appwrite but the authentification didn't work anyone know what can be wrong in the porject ?

what's the error?


something is wrong with what you're passing into client.setEndpoint()
. Did you configure the environment variable in netlify (assuming you're using an environment variable)?

this is what you mean right ?

or is there something else ?

no this is Appwrite side.

your code:
export const conf = {
appwriteUrl: String(process.env.REACT_APP_APPWRITE_URL),
appwriteProjectId: String(process.env.REACT_APP_APPWRITE_PROJECT_ID),
appwriteDatabaseId: String(process.env.REACT_APP_APPWRITE_DATABASE_ID),
appwriteCollectionId: String(
process.env.REACT_APP_APPWRITE_TODO_COLLECTION_ID
),
appwriteApiKey: String(process.env.REACT_APP_APPWRITE_API_KEY),
appwriteTODOCOLLECTION: String(
process.env.REACT_APP_APPWRITE_TODO_COLLECTION_ID
),
appwriteGOALSCOLLECTION: String(
process.env.REACT_APP_APPWRITE_GOALS_COLLECTION_ID
),
appwriteAllTags: String(process.env.REACT_APP_APPWRITE_ALLTAGS_COLLECTION_ID),
appwriteSUBTASKS: String(
process.env.REACT_APP_APPWRITE_SUBTASKS_COLLECTION_ID
),
appwriteGoalslvlpicture: String(
process.env.REACT_APP_APPWRITE_GOALS_LVL_PICTURE_COLLECTION_ID
),
appwriteROUTINECOLLECTION: String(
process.env.REACT_APP_APPWRITE_ROUTINE_COLLECTION_ID
),
};

you're using all these environment variables. so you need to configure them in Netlify

ohhh

one sec then


okay that was stupid of me . thank you !

[SOLVED]netlify+appwrite
Recommended threads
- Appwrite Fra Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite service :: getCurrentUser :: Us...
Getting this error while creating a react app can someone please help me solve the error
- Storage & Database is not allowing.
Storage & Database is not allowing to CRUD after i have logged in ? Using web SDK with next.js without any SSR or node-sdk.
