I've tried posting the code I'm using (which is the same as the one in the tutorial plus my dets) but it gets marked as spam so I'm not adding it here.
To help you further, would it be possible to see a screenshot of the actual error you are seeing from your end, please. Also, would it be possible to DM the details of the portal you’re using with the HubDB table so this can be reviewed along with the module code? This will allow us to see what may be happening there.