The failure above is coming from the ID Server, probably at this line:
Is the sample type UID missing in the request data?
Maybe you can post the full request data you send.
Thanks and best regards Ramon