zoho_hub icon indicating copy to clipboard operation
zoho_hub copied to clipboard

Creating Relations is not working

Open timothymahoney opened this issue 1 year ago • 1 comments

Hi there, thanks for the work on this gem!

I've got myself a setup where I have 2 models, account and contact, and they're pretty much just blank except for the attributes that match the Zoho attributes. I'm trying to create a relation in zoho, by using the add_related functionality demoed in the readme in the rails console, and it errors out with

ZohoHub::RecordInvalid (the module name given seems to be invalid)

Account.all and Contact.all work, finding works, creating works, but creating (or removing) the relationship between Account -> Contact does not.

Am I just setting this up wrong? Any guidance here would be super appreciated!

timothymahoney avatar Mar 28 '23 13:03 timothymahoney

@timothymahoney did you ever figure this out? I'm sending a raw request to zoho completely bypassing this library and am seeing the same error message with accounts and contacts.

dsimowitz-daisy avatar Aug 16 '23 23:08 dsimowitz-daisy