Hii Team , I am accessing the 'access-tokens' api through postman for generating the token but i go
Hii Team ,
I am accessing the 'access-tokens' api through postman for generating the token but i got this error : -
Spryker\Glue\RestRequestValidator\Processor\Exception\CacheFileNotFoundException - Exception: Validation cache is
enabled, but cache file is not found.
in
/data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Configuration/RestRequestValidatorConfigReader.php
(78)
Request URI: /access-tokens
Trace:
0
/data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php(88):
Spryker\Glue\RestRequestValidator\Processor\Validator\Configuration\RestRequestValidatorConfigReader->findValidationConfiguration(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
1
/data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php(68):
Spryker\Glue\RestRequestValidator\Processor\Validator\Constraint\RestRequestValidatorConstraintResolver->getConstraintFromConfig(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
2
/data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/RestRequestValidator.php(77):
Spryker\Glue\RestRequestValidator\Processor\Validator\Constraint\RestRequestValidatorConstraintResolver->getConstraintCollection(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
3
/data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Plugin/ValidateRestRequestAttributesPlugin.php(36):
Spryker\Glue\RestRequestValidator\Processor\Validator\RestRequestValidator->validate(Object(Symfony\Component\HttpFoundation\Request),
Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
4 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/Request/RestRequestValidator.php(170):
Spryker\Glue\RestRequestValidator\Plugin\ValidateRestRequestAttributesPlugin->validate(Object(Symfony\Component\HttpFoundation\Request),
Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
5 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/Request/RestRequestValidator.php(72):
Spryker\Glue\GlueApplication\Rest\Request\RestRequestValidator->executeRestRequestValidatorPlugins(Object(Symfony\Component\HttpFoundation\Request),
Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
6 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(287):
Spryker\Glue\GlueApplication\Rest\Request\RestRequestValidator->validate(Object(Symfony\Component\HttpFoundation\Request),
Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
7 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(157):
Spryker\Glue\GlueApplication\Rest\ControllerFilter->validateRequest(Object(Spryker\Glue\AuthRestApi\Controller\AccessTokensResourceController),
Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
8
/data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(71):
Spryker\Glue\GlueApplication\Rest\ControllerFilter->filter(Object(Spryker\Glue\AuthRestApi\Controller\AccessTokensResourceController),
'postAction', Object(Symfony\Component\HttpFoundation\Request))
9
/data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(56):
Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->filter(Object(Spryker\Glue\AuthRestApi\Controller\AccessTokensResourceController),
'postAction', Object(Symfony\Component\HttpFoundation\Request))
10 /data/vendor/symfony/http-kernel/HttpKernel.php(163):
Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->Spryker\Glue\GlueApplication\Plugin\EventDispatcher{closure}()
11 /data/vendor/symfony/http-kernel/HttpKernel.php(75):
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
12 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(138):
Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
13 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(116):
Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
14 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(107):
Spryker\Shared\Application\Application->run()
15 /data/public/Glue/index.php(24): Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy->run()
16 {main}
Fatal error: Uncaught ValueError: Path cannot be empty in [no active file]:0
Stack trace:
0
thrown in [no active file] on line 0
Please help me out
Comments
-
docker/sdk console glue:rest:build-request-validation-cache
0 -
that command gives me error
Symfony\Component\Console\Exception\NamespaceNotFoundException - Exception: There are no commands defined in the "glue:rest" namespace.Did you mean this?
code:test
in /data/vendor/symfony/console/Application.php (650)Command: /data/vendor/bin/console glue:rest:build-request-validation-cache
Trace:
0 /data/vendor/symfony/console/Application.php(701): Symfony\Component\Console\Application->findNamespace('glue:rest')
1 /data/vendor/symfony/console/Application.php(259): Symfony\Component\Console\Application->find('glue:rest:build...')
2 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php(114): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
3 /data/vendor/symfony/console/Application.php(171): Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
4 /data/vendor/spryker/console/bin/console(27): Symfony\Component\Console\Application->run()
5 /data/vendor/bin/console(120): include('/data/vendor/sp...')
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random