Krayin Forum

    Krayin

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    API error when try to create a lead (admin::app.common.internal-server-error)

    General Discussion
    2
    5
    419
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eloimarquessilva last edited by

      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"
      }

      cef60b29-c4d9-4386-864e-2448adc16146-image.png

      1 Reply Last reply Reply Quote 0
      • R
        rishabh_webkul last edited by

        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?

        E 1 Reply Last reply Reply Quote 0
        • E
          eloimarquessilva @rishabh_webkul last edited by

          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.

          09f57405-d108-4c0b-b528-9808ae03770c-image.png

          8f27b4e5-e550-4505-85e9-71d5a874c85b-image.png

          1 Reply Last reply Reply Quote 0
          • R
            rishabh_webkul last edited by

            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.

            laravel.log.png

            E 1 Reply Last reply Reply Quote 0
            • E
              eloimarquessilva @rishabh_webkul last edited by

              Hello @rishabh_webkul, the file is empty. Even after simulating the error via api.

              fc486080-20d1-466b-be54-209f17760b7e-image.png

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors