question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CardFilter.Visible - invalid value for filter

See original GitHub issue

Hello,

looks like CardFilter.Visible is not a valid filter, at least now.

Open and All filters are working fine.

Trello reported an error: ‘invalid value for filter’

************** Texte de l’exception ************** System.Net.Http.HttpRequestException: Trello reported an error: ‘invalid value for filter’ at Manatee.Trello.Internal.ExceptionHandling.DebugLog.Error(Exception e, Boolean shouldThrow) in C:\Users\gregd\Desktop\Manatee.Trello\Manatee.Trello\Internal\ExceptionHandling\DebugLog.cs:line 26 at Manatee.Trello.Internal.DataAccess.JsonRepository.ValidateResponse(IRestRequest request) in C:\Users\gregd\Desktop\Manatee.Trello\Manatee.Trello\Internal\DataAccess\JsonRepository.cs:line 64 at Manatee.Trello.Internal.DataAccess.JsonRepository.Execute[T](TrelloAuthorization auth, Endpoint endpoint, IDictionary2 parameters) in C:\Users\gregd\Desktop\Manatee.Trello\Manatee.Trello\Internal\DataAccess\JsonRepository.cs:line 29 at Manatee.Trello.ReadOnlyCardCollection.Update() in C:\Users\gregd\Desktop\Manatee.Trello\Manatee.Trello\CardCollection.cs:line 64 at Manatee.Trello.ReadOnlyCollection1.GetEnumerator() in C:\Users\gregd\Desktop\Manatee.Trello\Manatee.Trello\ReadOnlyCollection.cs:line 59 at System.Linq.Enumerable.Count[TSource](IEnumerable1 source, Func2 predicate)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
gregsdenniscommented, Oct 27, 2017

From Trello support:

We support the filter filter=visible for cards only when it is a nested resource in specific other resources. For instance, the filter works if you are getting cards as a nested resource from the board object (/1/boards/{boardID}/cards?filter=visible). However, the list object is not one that supports that. I’m going to update our documentation to explicitly outline which objects do support that filter.

I believe that you could use filter=open instead and get the same expected outcome. Let me know if that doesn’t do the trick for you!

It seems odd to me that they’d support visible on boards but not lists. I’ll have to update to catch this special case.

0reactions
gregsdenniscommented, Oct 31, 2017

When I asked about the inconsistent behavior, they replied:

Unfortunately, I don’t have a good answer as to why we’ve ended up with inconsistent behavior. However, I’ve added this to our backlog and hopefully we’ll get it fixed sometime in the future. Going forward, we’ll likely lean into cards=open. Sorry for the confusion!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Card Filter Not Working - Microsoft Power BI Community
Solved: Apologies all if I am missing something obvious or a simple solution. I have created a number of cards returning a total...
Read more >
Filter data—ArcGIS Insights - Esri Documentation
Filtering using n values allows you to pick the top or bottom values on your chart based on its category and summary statistic....
Read more >
Create advanced filters—ArcGIS Insights | Documentation
Use the following steps to apply an advanced filter at the card level: Create a map, chart, or table using the dataset you...
Read more >
Regular Expression Credit Card Filter
I've been playing around with filters for credit cards and have yet to find one that stops all credit cards while limiting false...
Read more >
Solved: Problem with visual level filtering on card
I've tried to set a visual level filter on a card twice this morning and encountered a problem. The first time, the card...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found