Hi Aron,
It's unlikely that the platform upgrade from OS10 to OS11 would introduce changes in the way it executes the SQL query you shared.
Is it possible that the team responsible for the maintenance of the GW_PEEK_ASYNC stored procedure changed it so that either the procedure signature or something inside the procedure requires a new parameter? If the procedure was not changed, I suggest that you investigate if it uses a dependency that was changed. One such dependency could be the OutSystems data model, if you are accessing it directly inside the said stored procedure.
With the information you give its difficult to understand the issue. Please share more findings, it will help to drill down on the issue.
Cheers,
Frederico