Open AmitRazz2001 opened 7 months ago
That may be because you are not using the correct API key or user authentication token, hopefully after debugging this, you should find the resolution.
If you already found the resolution, please do let me know!
That may be because you are not using the correct API key or user authentication token, hopefully after debugging this, you should find the resolution.
If you already found the resolution, please do let me know!
I'm using these keys only which is used in tutorial => appwriteUrl : String(import.meta.env.VITE_APPWRITE_URL), appwriteProjectId : String(import.meta.env.VITE_APPWRITE_PROJECT_ID), appwriteDatabaseId : String(import.meta.env.VITE_APPWRITE_DATABASE_ID), appwriteCollectionId : String(import.meta.env.VITE_APPWRITE_COLLECTION_ID), appwriteBucketId : String(import.meta.env.VITE_APPWRITE_BUCKET_ID) Any Api Keys weren't used..
did you solve this problem ?? i am also facing the same problem
did you solve this problem ?? i am also facing the same problem
That issue is not gone but my project is running fine.. Issue was there when I was trying to fetch the user's status from store Code with bug => const isAuthenticated = useSelector((state) => state.auth.status) // This gives me undefined auth
resolved code => const isAuthenticated = useSelector((state) => state.status)
Try this in the store.js file
const store = configureStore({ reducer: { auth: authSlice }, });
thanks guys my error was resolved i was doing other mistake
did you solve this problem ?? i am also facing the same problem
That issue is not gone but my project is running fine.. Issue was there when I was trying to fetch the user's status from store Code with bug => const isAuthenticated = useSelector((state) => state.auth.status) // This gives me undefined auth
resolved code => const isAuthenticated = useSelector((state) => state.status)
where did you wrote the resolved code??
I'm also getting this account scope issue. Is there anyone who could tell how to resolve it..
I have added correct API key and user authentication token key.
can anyone help with this
@Rukshanda if the error is because of trying to use account.get() when the user is not logged in. So this can be handled using a catch error block in the app component or any other component where such access to the API is done.
I hope this was helpful.
This account scope issue not resolved even after adding a web platform on appwrite console..Need help to resolve this..