Why am I getting this error? Trying this code in AgileCRM custom widgets to fetch contact details. Anyone with a solution. Code is from their API https://github.com/agilecrm