Cloud-Platform
Cloud-Platform copied to clipboard
Todoist integration fails when Spaces are in the names of Labels
It was found that when a user creates a label with a space in its name. This can cause DAKboard to fail to display any items linked in that label for both Labels and Filters with the label in the query.
Steps to recreate:
- Create a Label on your Todoist account with a space in its name. Example: Test Label
- Link your Todoist account to the DAKboard ToDoist Block
- Select the Label to view items linked to it, or select a filter that has the label added to its query. Example: Test Label
When selecting the Label and you go back to change it, this has an additional issue in that it breaks the block to select the list. See below:
Select the Label and save:
Results when going back to the edit page:
When selecting a Filter with the Label, nothing in the filter displays, but the listed block does not appear to break when you return to the block.
The current workaround is to tell the users to not use labels with spaces in the names, or change the label so there is an underscore or no space in its name.
After some initial testing to determine the issue, this is a two-fold solution. The first part we can correct easily enough; the second part involves the Todoist REST API not liking the encoded label filter of a label with spaces. I have reached out to the Todoist Team with the details and am awaiting their feedback.
Additional information this morning. It appears that when filters are written in a language other than English that they do not translate over to DAKboard as well.
Steps to replicate:
- Set language to French
- Create a filter with the query
Assigné à: moi
- Filter will work in ToDoist but will not in DAKboard
- While in French still, change the query to
Assigned to: me
and it will work.
Current Workaround is to write all filter queries in English.
Status Update:
- Todoist has let us know that they tested the issue and confirmed they are seeing something wrong and will need to look into it
- The additional information regarding the foreign language characters has also now been passed along to them as part of that ticket
@Dan-Peck Have you heard anything else about this since Aug 16? Just ran into a 400 Client Error: Bad Request for url on my own, when there are spaces in a Label name, and came across this Issue while Googling...
@Dan-Peck Have you heard anything else about this since Aug 16? Just ran into a 400 Client Error: Bad Request for url on my own, when there are spaces in a Label name, and came across this Issue while Googling...
Hello, @error9900 ! The last I heard a status was toward the end of August where they stated they are "currently evaluating whether it can be a quick fix." Yesterday I actually sent a follow-up message, once more, to them asking if there was an ETA on a fix, but have not heard back as yet.
I'm not sure if this specific issue applies in there but you might also try monitoring their Google Group as they sometimes add useful information on API changes in there: https://groups.google.com/a/doist.com/g/todoist-api
Yesterday I actually sent a follow-up message, once more, to them asking if there was an ETA on a fix, but have not heard back as yet.
Update: Todoist had a message waiting for me this morning:
We've identified what the issue is and hope to have a fix for it. I will check in on it and get back to you. 👍
We've identified what the issue is and hope to have a fix for it. I will check in on it and get back to you. 👍
As there has been no further correspondence from Todoist regarding this and the symptoms still appear to be taking place, it is not looking promising, and I have followed up one more time. Will report back once I have received their response.
Will report back once I have received their response.
In the update from Todoist they explained that they are actively working on it, but involves multiple issues/components that need to be completed before they can release the fix in the part that affects this particular symptom.
Brief update: We are trading correspondence w/Todoist regarding this issue. The most simple case of showing a filter for a label with spaces in it -- with no other conditions on it (e.g., not "my items only", or an additional condition in the filter query that uses the pipe (|
) symbol, etc.) appears to be corrected. However, we have provided them with additional test data for other scenarios that come back with unexpected responses and are hopeful a solution may come through soon.
Removing this case from the Tasks Project at this time, when steps are provided from Todoist it will be re-entered into the Tasks Project.
Hi, in just the last few weeks, all my Todoist integrations have broken. I've spent some time debugging, and have been able to get a few very simple lists to show up, but most views are broken and show 'no items'. Should I file a new bug or wait for an update here?
The one very clear thing I found is that sort by due date is clearly broken
The one very clear thing I found is that sort by due date is clearly broken
Hello, @davidfwatson ! Thank you for letting us know what you are seeing! I am sorry you are experiencing this issue. In my testing I was unable to reproduce the No Items or Sort by Due Date issues you described. However, after discussing with the team, there are a few issues similar to this that crop up occasionally, and then resolve themselves shortly after. Progress has been slower than desired, but we are still in discussions with Todoist regarding these issues.
In case it helps any - sometimes issues seem to revolve around the existence of non-alphanumeric characters (i.e., apostrophes, punctuation, pipes, foreign characters, etc.) in filters, labels, and item names. Avoiding use of any of those may help alleviate symptoms.
If your issue persists, feel free to open a support ticket with us, making sure to fill in your Username and some additional details about your Screen and Todoist block configuration, and we can look into what is happening to see if there is anything we can do to help.
Status Update:
An internal issue was just released that improves handling of Todoist sync data; those changes appear to correct some of these behaviors. From our testing, spaces in labels tests well, but use of foreign-characters is still receiving a bad/empty response from Todoist, which we are unable to do anything about from our side.
If you find this not to be the case, please let us know if you are still experiencing any issues with spaces in labels, and we can take a closer look.