Error Code 6 while creating new order - How to fix

 

Hello,

I'm getting the following error 6 in my code while creating a new order.

What does the error mean and how can I fix it?

Error 6


Cheers,
Eashan