Skip to main content

Processing request construction errors


Overview of processing request construction errors.

You might get validation errors during the request creation process. You will not be able to execute an Universal Tracker Service API request because it will not be constructed if there are errors.

The most common request validation errors are:

  • Passing an unexpected null parameter causes the ArgumentNullException exception.

  • Passing invalid structures, empty strings, or strings that do not contain anything except whitespace characters causes the ArgumentException exception.

  • Setting a write-once parameter for the second time causes the InvalidOperationException exception.

These exceptions are not wrapped and have no inner exceptions to inspect.

For more information about valid values for particular parameters, see the corresponding sections of the Universal Tracker SDK Developer's Guide.