Do you have an example on how to use this function?

I keep getting errorcode 50 whatever that may be