What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi all. I am currently working my way through the "Spryker Backend Fundamentals" course and the "Per
Hi all. I am currently working my way through the "Spryker Backend Fundamentals" course and the "Persist, Fetch, and Transport Data across Layers and Services" part. After doing all the steps as stated there and trying to view the page, I got the following error message. Am I still missing something? What else do I have to do to view this page?
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,057 ⚖️ - Guardians (admin)
Hey, can you please expand the exception-message on the left?
0 -
Failed to complete request with server authority <http://backend-gateway.de.spryker.local>. Configured with (SSL Disabled) backend-gateway.de.spryker.local: in /data/config/Shared/config_default.php. Error: Stacktrace: <div style="font-family: Helvetica, Arial, sans-serif; font-size: 14px"><h1>ZED Exception</h1><div style="background: #dadada; padding: 5px"><font style="12"><b>Symfony\Component\HttpKernel\Exception\NotFoundHttpException - No route found for "POST <http://backend-gateway.de.spryker.local/training/gateway/get-antelope>"</b></font></div><p>in /data/vendor/symfony/http-kernel/EventListener/RouterListener.php (135)</p><p><b>Url:</b>/training/gateway/get-antelope</p><p><b>Trace:</b></p><pre>#0 /data/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request', Object(Spryker\Shared\EventDispatcher\EventDispatcher)) #1 /data/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\RequestEvent)) #2 /data/vendor/symfony/http-kernel/HttpKernel.php(139): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request') #3 /data/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(138): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #5 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(116): Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request)) #6 /data/public/BackendGateway/index.php(20): Spryker\Shared\Application\Application->run() #7 {main}</pre></div><br /> <b>Fatal error</b>: Uncaught ValueError: Path cannot be empty in [no active file]:0 Stack trace: #0 {main} thrown in <b>[no active file]</b> on line <b>0</b><br />
"No route found" 🤔
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,057 ⚖️ - Guardians (admin)
you have created the gateway-controller like the following, right?
class GatewayController extends AbstractGatewayController { public function getAntelopeAction(AntelopeCriteriaTransfer $antelopeCriteria) : AntelopeResponseTransfer { return $this->getFacade() ->getAntelope($antelopeCriteria); } }
Can you execute
docker/sdk console cache:empty-all
and try again pls?0 -
It works now. In the end it was a wrong file path.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 899 Developer Corner
- 760 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 24 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
- 68 Spryker Safari Questions
- 50 Random