# Expected behavior ```bash python -c "from todoist import TodoistAPI; api = TodoistAPI(); api.sync()" ``` outputs a warning indicating no token has been set. # Actual behavior Fails silently; `api.state` is empty.
Expected behavior
python -c "from todoist import TodoistAPI; api = TodoistAPI(); api.sync()"outputs a warning indicating no token has been set.
Actual behavior
Fails silently;
api.stateis empty.