imagekit-developer/imagekit-nodejs

"Invalid CSRF Token" when trying to delete a file

Closed this issue · 1 comments

When implementing the code from the docs I get an error saying Invalid CSRF Token. I have no clue at the moment, why this happens and will try to debug it next week.

Ok, I found it out.. I tried to delete a file by sending the file-path instead of the file-id. Just in case someone else stumbles across this error.