Set up schedule job for mail reports. the following error is in the log:
Finished execution of Mail Reports with result: Failure, Error message: Report Mail Triggered... Required parameter missing: instanceId
Details
Parameters raw (from db settings): instanceID=1 format=csv
Parameters parsed (and passed to API method): a:3:{s:7:"version";i:3;s:10:"instanceID";s:1:"1";s:6:"format";s:3:"csv";}
Full message: Finished execution of Mail Reports with result: Failure, Error message: Report Mail Triggered... Required parameter missing: instanceId
Have tried multiple options for parameters and spelling - i.e. lower case and different report IDs that are known to exist. All give the same error.
cv api --user=cmsadmin job.mail_report instanceId=1 format=csv