deleteDocument shows The current user is not authorized to perform the requested action.
- 0
- Databases
- Web
- Cloud

my application is an ecomm app that list the products and i just want to add the delete functionality to delete the product the user has permission in appwrite console to delete and update it , has also created that product
My product.js code(service i created)

I used redux toolkit , redux persist for state management AllProduct.jsx code where i added delete product functionality
Recommended threads
- Can't create empty documents?
When I try to create a document without any data, I get this error: ```json {"message":"The document data is missing. Try again with document data populated","c...
- running the run() function with the maxT...
export default async function run( executor: IExecutor, queue: AsyncIterable<ITask>, maxThreads = 0 ) { maxThreads = Math.max(0, maxThreads); const A...
- Not sending to majority of Topic Targets...
I have a site using Appwrite Cloud with many people joined with email, Google/Facebook/or Apple Auth. I’ve added them (156 people) to a Messaging Topic and have...
