Closed kmott closed 9 months ago
Hi! thanks for the report. Are you able to send a PR for a fix? Should be pretty straightfoward. The problem is the "key" set in the module related to the chart of accounts, where it's probably set as singular instead of plural. You can check other modules where we've similar fixes in places.
I'm away from the computer in these days so i can't take a quick fix at this at the moment
Thanks!
Hi! thanks for the report. Are you able to send a PR for a fix? Should be pretty straightfoward. The problem is the "key" set in the module related to the chart of accounts, where it's probably set as singular instead of plural. You can check other modules where we've similar fixes in places.
I'm away from the computer in these days so i can't take a quick fix at this at the moment
Thanks!
I used chartofaccounts without issue over the last few days, so this must have been fixed
Great! Will cose this then!
Summary
Hello, I am using a recent version of the ZohoBooksApi (thank you by the way--I really enjoy using it!), and I noticed a peculiar issue when I go to create or update a ChartOfAccount entry.
My best guess is that the returned data from the Zoho API does not have a JSON payload with
chartofaccount
anywhere in it, soZohoBooksApi
is unable to parse the response and return it to the caller?Example
Error
This is the exception I am getting when I run the above code:
Note: I forgot to mention that the create or update is processed successfully by the Zoho API (e.g., my data is updated or created), but it just throws the error above when trying to parse the response from Zoho API.