nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.81k stars 1.38k forks source link

Can't delete a folder in Exchange #1554

Open bashok001 opened 8 years ago

bashok001 commented 8 years ago

I am getting an error while deleting an empty folder in Exchange. The error reads "Can't delete x. Make sure it is empty". Find the screencap below. Sorry for the truncated view. Only thing I could do for privacy reasons.

try

Command running from dev tools capture is curl -X DELETE -d '{}' "https://<AN ID>:@api.nylas.com/folders/<POSSIBLY FOLDER ID>"

Response code is 400

screenshot from 2016-03-03 08-37-44

bengotow commented 8 years ago

Hmm "Error Unspecified Error" is a pretty strange one—I'm not sure if that's coming from our backend or from JavaScript. Thanks for reporting this—we'll dig in and see what's going on. If it's not too private, could you include the email address you were seeing this on? That'll allow us to pull the logs from our API and see what happened.

bengotow commented 8 years ago

Hi @bashok001 — I haven't been able to reproduce this yet with my own Exchange account. Can you see if you're able to delete other folders? Is it just that one that causes that exception to occur?

bashok001 commented 8 years ago

@bengotow You can pull your logs for the email ID, abommise@syr.edu. Attempting to reproduce it with new folder, I observed something weird.

I am attaching a screenshot. You can see the folder named 'Testing Junk' folder on the left side.

screenshot

gztomas commented 8 years ago

+1