the comma at the end is for other filter groups. Comma is not the issue here. Because when I put value as 'closedwon' (which is a hubspot standard deal stage) it works.
The 'Trial' dealstage is the custom one I created, but when I fetch the deals from that particular dealstage, there are no responses even though there are deals in it.