-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error: Couldn't parse #8
Comments
Hi, It seems that the error is on the api client node module, that can't properly parse the json sent by the server... that seems to be valid json! Are you in the mood of debuging and log what's exactly in the body returned? https://github.com/TechToThePeople/node-civicrm/blob/master/civicrm.js#L114
|
Hi Xavier, Thank you so much for answering me, I'm not very savvy in all this but I think I'll could work it out eventually. So I got some questions:
I'll try out some things and will return with my findings. Kind regards, |
- node-civicrm is automatically instlled when you install ldapcivi
- my suggestion (on SE) was to change the config on the ldap server
- you can debug on the ldap server to see exactly what is returned from the
civicrm server and what's wrong with it (you aren't far away, it's nearly
correct it seems)
so as documented (hopefully), what ldap civi does is simply acts as a proxy
that generate an api request to the civicrm server, format it to ldap and
returns to your mail client. it seems that the problem is on the formatting
of what your civi server returns. It's probably an hour of work to find and
fix the root issue when you have everything installed
…On Wed, 1 May 2019 at 16:14, kromsam ***@***.***> wrote:
Hi Xavier,
Thank you so much for answering me, I'm not very savvy in all this but I
think I'll could work it out eventually. So I got some questions:
- Do I also need to install node-civicrm to make LDAPcivi work?
- Could this have something to do with what I filled in in the config
of the server / Thunderbird?
- How and what could I debug? (By filling in one complete contact and
see what it returns?)
I'll try out some things and will return with my findings.
Kind regards,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA7LKXOPDYO5MHLSVPSUTDPTGQT3ANCNFSM4HF262PQ>
.
|
Well there hasn't been much activity in this repo. But I'll give it a try and ask a question.
I have been able to get the server running. Filled in the credentials in Thunderbirds and tried some queries. But I keep getting the same error.
So. It actually manages to get a good search result. But somehow it isn't able to send it to Thunderbird. Maybe I'm missing out something obvious! Hope you can give me some advice, after all these years.
All the best,
The text was updated successfully, but these errors were encountered: