On Thu, Aug 13, 2015 at 03:41:34PM -0500,
 Yang Yu <[email protected]> wrote 
 a message of 13 lines which said:

> When I use New Set - wizard to select probes, the exclusion by tag
> does not work with user tags. Even though the user tag was
> recognized (I chose it from the drop down menu), the particular
> probe was still selected.
> 
> For example, I excluded user tag SDFJLKFWEO from measurement
> 2312281, but probe 10240 was still selected.

I tried from the API and the results are strange. Some existing user
tags are not recognized:

{'definitions': [{'target': '192.134.5.5', 'af': 4, 'packets': 3, 'type': 
'ping', 'is_oneoff': True, 'description': 'Ping 192.134.5.5'}], 'probes': 
[{'requested': 3, 'type': 'area', 'value': 'WW', 'tags': {'exclude': 
['sdfjlkfweo']}}]}

=>

RIPEAtlas.RequestSubmissionError: Status 400, reason 
"{"error":{"message":"tags_exclude: Select a valid choice. sdfjlkfweo is not 
one of the available choices.","code":104}}"

But other tags are accepted:

{'definitions': [{'target': '192.134.5.5', 'af': 4, 'packets': 3, 'type': 
'ping', 'is_oneoff': True, 'description': 'Ping 192.134.5.5'}], 'probes': 
[{'requested': 3, 'type': 'area', 'value': 'WW', 'tags': {'exclude': 
['home']}}]}

=>

Measurement #2312797 

Reply via email to