Skip to content
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

UnprocessableEntityHttpException after the API password #76

Open
volkovmqx opened this issue Oct 2, 2017 · 0 comments
Open

UnprocessableEntityHttpException after the API password #76

volkovmqx opened this issue Oct 2, 2017 · 0 comments

Comments

@volkovmqx
Copy link

with debug mode enabled, i get this :

What is the password associated to this username? []:
 > xxxx                                                                                            
  [Akeneo\PimMigration\Domain\MigrationStep\s015_SourcePimApiConfiguration\SourcePimApiConfigurationException (422)]  
  Error: Step 1.5 - SourcePimApiConfiguration: Unprocessable Entity                                                   
                                                                                                                      

Exception trace:
 () at /home/docker/transporteo/src/Infrastructure/MigrationStep/S015FromSourcePimConfiguredToSourcePimApiConfigured.php:59
 Akeneo\PimMigration\Infrastructure\MigrationStep\S015FromSourcePimConfiguredToSourcePimApiConfigured->onSourcePimApiConfiguration() at n/a:n/a
 call_user_func() at /home/docker/transporteo/vendor/symfony/event-dispatcher/EventDispatcher.php:212
 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /home/docker/transporteo/vendor/symfony/event-dispatcher/EventDispatcher.php:44
 Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /home/docker/transporteo/vendor/symfony/workflow/Workflow.php:256
 Symfony\Component\Workflow\Workflow->transition() at /home/docker/transporteo/vendor/symfony/workflow/Workflow.php:137
 Symfony\Component\Workflow\Workflow->apply() at /home/docker/transporteo/src/Infrastructure/TransporteoStateMachine.php:97
 Akeneo\PimMigration\Infrastructure\TransporteoStateMachine->start() at /home/docker/transporteo/src/Infrastructure/UserInterface/Cli/Transporteo.php:44
 Akeneo\PimMigration\Infrastructure\UserInterface\Cli\Transporteo->execute() at /home/docker/transporteo/vendor/symfony/console/Command/Command.php:264
 Symfony\Component\Console\Command\Command->run() at /home/docker/transporteo/vendor/symfony/console/Application.php:887
 Symfony\Component\Console\Application->doRunCommand() at /home/docker/transporteo/vendor/symfony/console/Application.php:223
 Symfony\Component\Console\Application->doRun() at /home/docker/transporteo/vendor/symfony/console/Application.php:130
 Symfony\Component\Console\Application->run() at /home/docker/transporteo/Transporteo.php:17

                                                                 
  [Akeneo\Pim\Exception\UnprocessableEntityHttpException (422)]  
  Unprocessable Entity                                           
                                                                 

Exception trace:
 () at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Client/HttpExceptionHandler.php:53
 Akeneo\Pim\Client\HttpExceptionHandler->transformResponseToException() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Client/HttpClient.php:46
 Akeneo\Pim\Client\HttpClient->sendRequest() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Api/AuthenticationApi.php:80
 Akeneo\Pim\Api\AuthenticationApi->authenticate() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Api/AuthenticationApi.php:46
 Akeneo\Pim\Api\AuthenticationApi->authenticateByPassword() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Client/AuthenticatedHttpClient.php:57
 Akeneo\Pim\Client\AuthenticatedHttpClient->sendRequest() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Client/ResourceClient.php:56
 Akeneo\Pim\Client\ResourceClient->getResource() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Client/ResourceClient.php:87
 Akeneo\Pim\Client\ResourceClient->getResources() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Api/ProductApi.php:59
 Akeneo\Pim\Api\ProductApi->listPerPage() at /home/docker/transporteo/vendor/akeneo/api-php-client/src/Api/ProductApi.php:71
 Akeneo\Pim\Api\ProductApi->all() at /home/docker/transporteo/src/Infrastructure/MigrationStep/S015FromSourWhat is the password associated to this username? []:
 > xxxx                                                                                            
  [Akeneo\PimMigration\Domain\MigrationStep\s015_SourcePimApiConfiguration\SourcePimApiConfigurationException (422)]  
  Error: Step 1.5 - SourcePimApiConfiguration: Unprocessable Entity                                                   
                                                                                                                      

Exception trace:
 () at /home/docker/transporteo/src/Infrastructure/MigrationStep/S015FromSourcePimConfiguredToSourcePimApiConfigured.php:59
 Akeneo\PimMigration\Infrastructure\MigrationStep\S015FromSourcePimConfiguredToSourcePimApiConfigured->onSourcePimApiConfiguration() at n/a:n/a
 call_user_func() at /home/docker/transporteo/vendor/symfony/event-dispatcher/EventDispatcher.php:212
 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /home/docker/transporteo/vendor/symfony/event-dispatcher/EventDispatcher.php:44
 Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /home/docker/transporteo/vendor/symfony/workflow/Workflow.php:256
 Symfony\Component\Workflow\Workflow->transition() at /home/docker/transporteo/vendor/symfony/workflow/Workflow.php:137
 Symfony\Component\Workflow\Workflow->apply() at /home/docker/transporteo/src/Infrastructure/TransporteoStateMachine.php:97
 Akeneo\PimMigration\Infrastructure\TransporteoStateMachine->start() at /home/docker/transporteo/src/Infrastructure/UserInterface/Cli/Transporteo.php:44
 Akeneo\PimMigration\Infrastructure\UserInterface\Cli\Transporteo->execute() at /home/docker/transporteo/vendor/symfony/console/Command/Command.php:264
 Symfony\Component\Console\Command\Command->run() at /home/docker/transporteo/vendor/symfony/console/Application.php:887
 Symfony\Component\Console\Application->doRunCommand() at /home/docker/transporteo/vendor/symfony/console/Application.php:223
 Symfony\Component\Console\ApplicacePimConfiguredToSourcePimApiConfigured.php:57
 Akeneo\PimMigration\Infrastructure\MigrationStep\S015FromSourcePimConfiguredToSourcePimApiConfigured->onSourcePimApiConfiguration() at n/a:n/a
 call_user_func() at /home/docker/transporteo/vendor/symfony/event-dispatcher/EventDispatcher.php:212
 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /home/docker/transporteo/vendor/symfony/event-dispatcher/EventDispatcher.php:44
 Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /home/docker/transporteo/vendor/symfony/workflow/Workflow.php:256
 Symfony\Component\Workflow\Workflow->transition() at /home/docker/transporteo/vendor/symfony/workflow/Workflow.php:137
 Symfony\Component\Workflow\Workflow->apply() at /home/docker/transporteo/src/Infrastructure/TransporteoStateMachine.php:97
 Akeneo\PimMigration\Infrastructure\TransporteoStateMachine->start() at /home/docker/transporteo/src/Infrastructure/UserInterface/Cli/Transporteo.php:44
 Akeneo\PimMigration\Infrastructure\UserInterface\Cli\Transporteo->execute() at /home/docker/transporteo/vendor/symfony/console/Command/Command.php:264
 Symfony\Component\Console\Command\Command->run() at /home/docker/transporteo/vendor/symfony/console/Application.php:887
 Symfony\Component\Console\Application->doRunCommand() at /home/docker/transporteo/vendor/symfony/console/Application.php:223
 Symfony\Component\Console\Application->doRun() at /home/docker/transporteo/vendor/symfony/console/Application.php:130
 Symfony\Component\Console\Application->run() at /home/docker/transporteo/Transporteo.php:17

akeneo-pim:migrate [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command>

any clue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant