I am trying the API sample and it's not working to create a lead, ti works to get contacts, but PUT
import pdb; pdb.set_trace()
i = Insightly(apikey='my-key',
version='2.2',
debug=True,
offline=False,
refresh=True)
new_lead = {'first_name':'foo','last_name':'bar'}
success = i.create('leads', new_lead)
The error is:
HTTP Error 403: No Access to Data
I am trying the API sample and it's not working to create a lead, ti works to get contacts, but PUT
import pdb; pdb.set_trace()
i = Insightly(apikey='my-key',
version='2.2',
debug=True,
offline=False,
refresh=True)
The error is:
HTTP Error 403: No Access to Data