Error 500 showing while Importing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashif Malayil
    Senior Member
    • Dec 2023
    • 171

    Error 500 showing while Importing

    Error 500 showing while Importing, Can anyone go through the Logs and help me to find the issue?

    [2024-02-29 12:58:43] ERROR: Slim Application Error Type: TypeError Code: 0 Message: Argument 1 passed to Espo\Tools\Import\Import:arsePersonName() must be of the type string, null given, called in /var/www/html/application/Espo/Tools/Import/Import.php on line 724 File: /var/www/html/application/Espo/Tools/Import/Import.php Line: 1050 Trace: #0 /var/www/html/application/Espo/Tools/Import/Import.php(724): Espo\Tools\Import\Import->parsePersonName() #1 /var/www/html/application/Espo/Tools/Import/Import.php(599): Espo\Tools\Import\Import->processForeignName() #2 /var/www/html/application/Espo/Tools/Import/Import.php(368): Espo\Tools\Import\Import->importRow() #3 /var/www/html/application/Espo/Tools/Import/Service.php(105): Espo\Tools\Import\Import->run() #4 /var/www/html/application/Espo/Controllers/Import.php(121): Espo\Tools\Import\Service->import() #5 /var/www/html/application/Espo/Core/Api/ActionProcessor.php(100): Espo\Controllers\Import->postActionCreate() #6 /var/www/html/application/Espo/Core/Api/RequestProcessor.php(141): Espo\Core\Api\ActionProcessor->process() #7 /var/www/html/application/Espo/Core/Api/RequestProcessor.php(112): Espo\Core\Api\RequestProcessor->proceed() #8 /var/www/html/application/Espo/Core/Api/RequestProcessor.php(83): Espo\Core\Api\RequestProcessor->processInternal() #9 /var/www/html/application/Espo/Core/Api/Starter.php(103): Espo\Core\Api\RequestProcessor->process() #10 /var/www/html/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): Espo\Core\Api\Starter->Espo\Core\Api\{closure}() #11 /var/www/html/vendor/slim/slim/Slim/Routing/Route.php(384): Slim\Handlers\Strategies\RequestResponse->__invoke() #12 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle() #13 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle() #14 /var/www/html/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle() #15 /var/www/html/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run() #16 /var/www/html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): Slim\Routing\RouteRunner->handle() #17 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process() #18 /var/www/html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle() #19 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process() #20 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@anonymous->handle() #21 /var/www/html/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle() Unminify assets or how to recreate t...o.min.js file? /var/www/html/vendor/slim/slim/Slim/App.php(199): Slim\App->handle() Unminify assets or how to recreate t...o.min.js file? /var/www/html/application/Espo/Core/Api/Starter.php(79): Slim\App->run() #24 /var/www/html/application/Espo/Core/ApplicationRunners/Api.php(49): Espo\Core\Api\Starter->start() Unminify assets or how to recreate t...o.min.js file? /var/www/html/application/Espo/Core/Application/RunnerRunner.php(85): Espo\Core\ApplicationRunners\Api->run() how to upgrade ? /var/www/html/application/Espo/Core/Application.php(81): Espo\Core\Application\RunnerRunner->run() how to upgrade ? /var/www/html/public/api/v1/index.php(37): Espo\Core\Application->run() #28 {main} Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor. [] []
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #2
    Most likely you are incorrectly mapping the fields (name, firstName, lastName, middleName) in Second step of Import.
    Please send an example of your .csv file. In order to add it as an attachment, firt archive it in a .zip file.

    Comment

    • Ashif Malayil
      Senior Member
      • Dec 2023
      • 171

      #3
      Assigned User was empty, But still it wasn't a required field. Solved.

      Comment

      Working...