DIDRequest now raises errors for invalid arguments.