Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Relations is not working #77

Open
timothymahoney opened this issue Mar 28, 2023 · 1 comment
Open

Creating Relations is not working #77

timothymahoney opened this issue Mar 28, 2023 · 1 comment

Comments

@timothymahoney
Copy link

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!

@dsimowitz-daisy
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants