deleteUser is not working in supertokens-node
# support-questions-legacy
k
deleteUser is not working in supertokens-node
r
hey @kumar_ayush whats the error?
k
No error is being logged but it's throwing the error, when I call the deleteUser endpoint, plus it's not deleting the user from dashboard too.
I am using the production environment
r
whats the error that it's throwing?
k
Nothing the catch block catches the error, but nothing get's logged.
r
can you call the core API directly via postman and see what happens?
k
https://todolist.messagely.tech/auth/dashboard/ Here is the ednpoint, try deleting any user. API key: test
r
seems like your API endpoint doesn't allow DELETE requests
k
Oh, I got the problem, it's occuring because I am using helmet package
r
right. Maybe there is a config in there which allows you to send a DELETE request
5 Views