Hi! I am building a custom module for an email where I pull data from a HubDB table. I have successfully created a few, but am working on a new one that is offering up error messages. The problem is that the error messages aren’t specific, so I don’t know what’s wrong.
"1. Error:Cannot resolve property
2. Error:Cannot resolve property"
How do I debug it so I know what properties HubSpot can’t resolve? Previously it’s always said “Error Line 18…”
Hi @BYardley,
It’s hard to point out the exact issue with getting access, but you can try the following:
- Try reloading the page if it’s a temporary HubSpot issue.
- Try commenting out each hubDB row property to find out exactly which one(s) is causing the issues.
@BYardley - I agree with my colleague here. In these types of cases, I’d be commenting out various sections of the code to narrow down the issue.
I not in passingthe hard coded table identifier - probably best to make that a module parameter.
Good luck!
Steve