Hi Hugo,
Sorry for the inconvenience.
The reported issue (“I got error with below code, Did I do anything wrong?”) is an already known issue at our end and this fix will be included in our upcoming release scheduled on of July 24th 2019. We appreciate your patience until then. You can track the status of the reported issue through the below feedback link.
You can track the status of the issue from the below feedback link
Regards,
Berly B.C