Comments (6)
I improved error logging in last commit 9e9ba1a. Could you please update to the latest version with git pull
and post the related logs from Magic Mirror? Thanks!
from mmm-microsofttodo.
@jjonnela you have to have at least one valid value in the includedLists
value. That array takes any regex, and the default is setup to match all lists. If you want all lists, just remove that value in your config and let the default take over.
from mmm-microsofttodo.
@thobach Here's the error
[24.01.2022 16:40.38.357] [ERROR] Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: {
body: Gunzip {
_writeState: [Uint32Array],
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 5,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
bytesWritten: 0,
_handle: [Zlib],
_outBuffer: <Buffer 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... 16334 more bytes>,
_outOffset: 0,
_chunkSize: 16384,
_defaultFlushFlag: 2,
_finishFlushFlag: 2,
_defaultFullFlushFlag: 3,
_info: undefined,
_maxOutputLength: 1073741823,
_level: -1,
_strategy: 0,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null,
[Symbol(kError)]: null
},
disturbed: false,
error: null
},
[Symbol(Response internals)]: {
url: 'https://graph.microsoft.com/v1.0/me/todo/lists/xxxxx/tasks?$top=200&$filter=status%20ne%20%27completed%27%20and%20duedatetime%2Fdatetime%20lt%20%272022-02-21T16%3A40%3A37%2B02%3A00%27%20and%20duedatetime%2Fdatetime%20ne%20null&$orderby=duedatetime/datetime',
status: 400,
statusText: 'Bad Request',
headers: Headers { [Symbol(map)]: [Object: null prototype] },
counter: 0
}
}
[24.01.2022 16:40.38.364] [ERROR] [MMM-MicrosoftToDo]: Error: checkFetchStatus failed with status 'Bad Request' {"size":0,"t
from mmm-microsofttodo.
@jjonnela I assume your timezone is not in the Greenwich Mean Time / Western European Time zone. I had the same issue being based in UTC+1 and addressed the issue by adjusting the filter query to remove the timezone. Please check out the latest version.
@spyder007 FYI
from mmm-microsofttodo.
Thanks @thobach, I have been thinking about how to add a few tests to this to check for these things. For sidetracked with my day job! Thanks for the assist.
from mmm-microsofttodo.
@thobach Thanks for the update, I will check it out later and hopefully get it working.
from mmm-microsofttodo.
Related Issues (20)
- Support to view My Day?
- Step support? HOT 1
- Black Screen HOT 2
- Error: Cannot find module 'node-fetch' HOT 4
- does it work on MagicMirror2? HOT 1
- Is there a way to not include overdue tasks?
- Bad Request Error HOT 15
- "Failed to load swrast driver" HOT 1
- Not linked to account. HOT 2
- Problems with instructions / authorization code generation (code) HOT 1
- Not showing tasks HOT 7
- Refresh Token Didn't Show Full Number HOT 1
- Not Connecting to Correct File Path
- MMM-MicrosoftToDo - Fails / crashes with bad request HOT 1
- Due Date always shows the same time HOT 1
- Instructions are outdated HOT 6
- replaceAll is not a function HOT 1
- Bad Request HOT 7
- Shopping list? HOT 2
- Does it support "Important" in ToDo? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-microsofttodo.