One or more of the arguments is invalid (Error 40508)

A value of at least one of the arguments called by this method is beyond the valid range of values for the argument. Use valid argument values to call the method.

For additional information, search the documentation for the method in question.