I had the same situations
And in my store proc. I had a PRINT command just before sp_executesql

PRINT @sql

exec sp_executesql @sql


And I just remove my PRINT command in my store procedure
and it's working fine

Weird ! but it's work for me