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.

Domain filter "Cannot filter on target"

See original GitHub issue

Because the API is not idempotent, I have to issue a GET request to the domain records to see if an A record exists, and is pointed to the correct IP address. I don’t want to have to analyze the answer, I only want to know if a record is returned when I make the request. However when I issue:

curl -XGET -H 'Authorization: Bearer ###REMOVED###' -H 'X-Filter: {"type":"A","target":"###REMOVED###"}' https://api.linode.com/v4/domains/###REMOVED###/records

… I’m getting the error response …

{"errors": [{"reason": "Cannot filter on target", "field": "X-Filter"}]}

Why can’t I filter against the target field?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
oucilcommented, Jun 25, 2020

Hey @Dorthu, that’s great news, thanks very much for the heads up!

0reactions
LBGarbercommented, Sep 6, 2022

Closing this issue since target is now a filterable field through the API. Feel free to tag me if this issue is still occurring 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to filter the target elements in Operations Dashboard ...
More than one target element can be selected. Click Done. The target elements are filtered automatically when the map extent changes.
Read more >
Domain filtering - Network Security - Trend Micro Cloud One
Domain name filtering is a type of reputation filtering that helps control the traffic that enters and exits your network. Network Security enables...
Read more >
Filter on user domain not working - Amplitude Community
Hi, I try to filter out my internal users with the domain, with a condition like “domain is not claap”.When I do a...
Read more >
Unable to select Filtered Data Extension as target in SQL ...
Unfortunately you cannot target a filtered Data Extension with a query. These are able to be manipulated by your filter only.
Read more >
WMI filters to target sites and non Domain Controllers
By cleverly ordering GPOs, you usually have no problem to get the result you want when 2 GPOs target the same setting. However...
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