You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
When adding or checking tasks in MGT ToDo component in Teams Tab application created with Teams Toolkit, this error message appears:
_ERROR Invalid JSON, Error converting value "2024-05-14" to type 'Microsoft.OData.Edm.Date'. Path 'recurrence.range.startDate', line 1, position 536. at GraphErrorHandler.constructErrorFromResponse (https://localhost:53000/static/js/bundle.js:59555:20) at GraphErrorHandler.<anonymous> (https://localhost:53000/static/js/bundle.js:59579:36) at Generator.next (<anonymous>) at https://localhost:53000/static/js/bundle.js:154869:67 at new Promise (<anonymous>) at __awaiter (https://localhost:53000/static/js/bundle.js:154851:10) at GraphErrorHandler.getError (https://localhost:53000/static/js/bundle.js:59576:60) at GraphRequest.<anonymous> (https://localhost:53000/static/js/bundle.js:59906:96) at Generator.throw (<anonymous>) at rejected (https://localhost:53000/static/js/bundle.js:154861:32)_
The network log provides this error message: { "error": { "code": "invalidRequest", "message": "Invalid JSON, Error converting value \"2024-05-14\" to type 'Microsoft.OData.Edm.Date'. Path 'recurrence.range.startDate', line 1, position 536.", "innerError": { "code": "InvalidModel", "date": "2024-05-14T08:16:59", "request-id": "1b4af4b8-dfd6-42d9-91bd-46ed5e2eb7e3", "client-request-id": "32371c37-66ad-53fe-c856-fad816c8ecc0" } } }
When ToDo task is set in exchangeable format like 5/5/2024 error doesn't occur.
There is a problem with Data format sent via the component.
Bug description
When adding or checking tasks in MGT ToDo component in Teams Tab application created with Teams Toolkit, this error message appears:
_ERROR Invalid JSON, Error converting value "2024-05-14" to type 'Microsoft.OData.Edm.Date'. Path 'recurrence.range.startDate', line 1, position 536. at GraphErrorHandler.constructErrorFromResponse (https://localhost:53000/static/js/bundle.js:59555:20) at GraphErrorHandler.<anonymous> (https://localhost:53000/static/js/bundle.js:59579:36) at Generator.next (<anonymous>) at https://localhost:53000/static/js/bundle.js:154869:67 at new Promise (<anonymous>) at __awaiter (https://localhost:53000/static/js/bundle.js:154851:10) at GraphErrorHandler.getError (https://localhost:53000/static/js/bundle.js:59576:60) at GraphRequest.<anonymous> (https://localhost:53000/static/js/bundle.js:59906:96) at Generator.throw (<anonymous>) at rejected (https://localhost:53000/static/js/bundle.js:154861:32)_
The network log provides this error message:
{ "error": { "code": "invalidRequest", "message": "Invalid JSON, Error converting value \"2024-05-14\" to type 'Microsoft.OData.Edm.Date'. Path 'recurrence.range.startDate', line 1, position 536.", "innerError": { "code": "InvalidModel", "date": "2024-05-14T08:16:59", "request-id": "1b4af4b8-dfd6-42d9-91bd-46ed5e2eb7e3", "client-request-id": "32371c37-66ad-53fe-c856-fad816c8ecc0" } } }
When ToDo task is set in exchangeable format like 5/5/2024 error doesn't occur.
There is a problem with Data format sent via the component.
Similar issues:
#152
#879
Expected behavior
Working version also with EU or global date format, not just US.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: