In the query, adverse_event_flag field was specified as Y. However, the result I got is report number 3363982 with adverse_event_flag=N. Could anyone help me figure out whether my query is wrong?
The problem was a minor one with query syntax: You're using equals signs
= when you should be using colons
adverse_event_flag=Y should be
The new query returns only 23 results instead of about 1300.
The openFDA API basics page has information about the correct syntax for these queries.