Can't help you since it Webhook which I haven't done before. If you use Wordpress website this post might be useful for you.
Problem with the api
Collapse
X
-
Hello,
I have the same problem, maybe anyone have idea how to fix it? my api user have all permissions and it still doen't workLeave a comment:
-
Hi,
Server might have returned an error. Check logs. See: https://github.com/espocrm/documenta...utorial.md#php
I suppose your api user doesn't have a permission to create a lead.Last edited by yuri; 04-20-2020, 07:51 PM.Leave a comment:
-
Problem with the api
Hello,
I tried connecting espo with another website through a webhook using the REST API and PHP using the example found here: https://www.espocrm.com/documentatio...pi-client-php/
However when i try to load the script it returns me this error:
Fatal error: Uncaught Exception: EspoClient: Unknown Error in C:\xampp\htdocs\EspoCRM\class.php:138 Stack trace: #0 C:\xampp\htdocs\EspoCRM\add.php(8): EspoApiClient->request('POST', 'Lead', Array) #1 {main} thrown in C:\xampp\htdocs\EspoCRM\class.php on line 138
Can anyone help me figure out why this is not working?1 PhotoTags: None
Leave a comment: