Teaser example gives error: No usable default <class 'exchangelib.folders.known_folders.Inbox'> folders
#1334
-
When running the Teaser example on my own mail account, I get the following error:
I couldn't really find anything useful googling for this error, and since this is my first time trying exchangelib, maybe someone can point me into the direction of what is going wrong here, or what this error means? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The error means that we received a list of folders from the server, but couldn't find anything in that list that looks like an Inbox folder, which is what we requested with To test that, you could enable debug logging to see exactly what exchangelib is requesting and what the server is responding: https://ecederstrand.github.io/exchangelib/#troubleshooting |
Beta Was this translation helpful? Give feedback.
The error means that we received a list of folders from the server, but couldn't find anything in that list that looks like an Inbox folder, which is what we requested with
account.inbox
. It's possible that your credentials have access to log into the mailbox, but no access to the inbox folder.To test that, you could enable debug logging to see exactly what exchangelib is requesting and what the server is responding: https://ecederstrand.github.io/exchangelib/#troubleshooting