How can I filter this response depends on Reason for business exception Odata API?

Hello,
I’m using the one below and I get 400 bad request any suggestions ?

odata/QueueItems?$filter=ProcessingException/Reason eq ‘Email attachments include an unrecognised file format’ and QueueDefinitionId eq 1851

keep in mind, that in case the item has not a failed status ProcessingException is null and the access to the reason is causing an 400

Give a try to include also the failed status within or any other more defensive filter clause

Hello,
Can you give me an example?

I didn’t really get it ?

Sure

grafik
And
grafik

yes got that. How to get around it ?

we encountered some unexpected behaviours within the different swagger version. so let us know which one is in use at your end

grafik