API error when try to create a lead (admin::app.common.internal-server-error)
-
I am creating an integration between Krayin CRM and Chatwoot using N8N via API.
So far, everything is working normally (creation, search, and update of persons), but when trying to create leads using the data obtained in the documentation, I receive the error below. As it does not describe the error precisely, I cannot move forward with this. I have already checked all the IDs and information, and they are correct.
Can you help me?
{
"message": "admin::app.common.internal-server-error"
} -
Hello @eloimarquessilva
Can you share us with the complete URL which you are hitting in the postman because I think as per the screenshot you provided the baseURL is not entered there.
Kindly confirm?
-
Hi @rishabh_webkul, how are you?
The baseUrl is a variable replaced by my domain. Even putting the domain direct in URL I receive the same error.
-
Hello @eloimarquessilva
Can you provide us the laravel.log after hitting the query? This will help us figure out the error message.
bagisto >> storage >> logs >> laravel.log
Find the image for the reference.
-
Hello @rishabh_webkul, the file is empty. Even after simulating the error via api.