How to Debug the "Input/Output Operation Failed" Error?

When I call doca_workq_progress_retrieve I get a DOCA_ERROR_IO_FAILED error. I have no idea what I should do. What could be the reason and how should I further diagnose this issue to find the root cause? Thanks!