Hi Jordi, Thank you for posting query in Microsoft Q&A Platform.
Above error may occur when we try to use same parameter multiple times in SQL command or stored procedure. Firstly, make sure your are using SQL parameter names exactly same as in DB and also make sure not using same parameter name multiple times in activity.
In your case, I suspect same stored procedure activity may getting called multiple times and sometimes ending up with this error. Inside Execute pipeline
activities Wait for pipeline execution to complete
option mark it as true
and make sure to create run Stored procedure only after its previous execution completes. That way this error may not come.
Hope this helps. Please let me know how it goes. If it does not help, kindly try with stored procedure
activity and see how it behaves. Please let me know if any further questions.
Please consider hitting Accept Answer
button. Accepted answers help community as well.