The return_email_address parameter in PUT /v1/services/autoscan is now required. It was previously optional.
return_email_address is where Maventa returns documents that cannot be scanned. Without it, Maventa sends an error email to the sender instead. Requiring the address at activation means the fallback is in place from the start.
Activating AutoScan now looks like this:
{
"return_email_address": "returns@example.com"
}Requests that leave out return_email_address, or send it blank, return 400 Bad Request and are not forwarded to the scanning service.
If your integration activates AutoScan without a return email address, update it to send one.