Internal Server Error using SolarWinds API for Process Integration

I'm using SolarWind's API in Process Integration to try and take a date from a custom field in a service request and set the incident's due date to it. Here's what I have:

In return, I get an internal server error:

Any ideas what could be wrong?