amazingmarvin / MarvinAPI

API documentation for the Amazing Marvin productivity tool
https://amazingmarvin.com/
94 stars 0 forks source link

MAKE integration to search Tasks not working because of day field - time issues #57

Open wadid opened 2 months ago

wadid commented 2 months ago

Statement of purpose

I do solemnly swear (or affirm) that this is an API bug, and not a Marvin bug. For Marvin bugs I would use the in-app "?→Contact Support" feature

Describe the bug I am trying to get the tasks of a certain day with make (https://www.make.com/en/help/app/amazing-marvin#search-tasks-964683 ) but have no success. If I leave the day field empty I get all data. Make seems to add also a time to the date, is this problematic? I tried different variants but I couldnt get for any data any data. (I also posted in the Make forum here: https://community.make.com/t/date-is-not-getting-formatted-correctly-how-to-remove-time/52923)

If I do a POST call with Postman with GET /api/todayItems?date=2024-08-20 it works.

Here are the screenshots from make. Note that even if the date switches to a day earlier because of timezone it still should show tasks, as on every day there are tasks scheduled.

Screenshots image image Input (see the date fromat with time) image Output image

if I leave the date field empty I can get all the items… see following screenshot. so the api is working. but I am trying to get as an example the item Bundle 502 in the screenshot. There you can see day is 2024-08-20. But I cannot get anything when using a date.

image