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..
any ideas?
Comments
-
more info might help here again π
0 -
more to the stack trace, e.g.
0 -
do you run
vendor/bin/codecept run
orvendor/bin/console code:test
?0 -
27) ProductApiCest: Create product with invalid type mother grids Test ../ProductApi/Api/ProductApiCest.php:createProductWithInvalidTypeMotherGrids Expected HTTP Status Code: 422 (Unprocessable Entity). Actual Status Code: 500 (Internal Server Error) Failed asserting that 500 matches expected 422. Scenario Steps: 7. $I->canSeeResponseCodeIs(422) at ../ProductApi/Api/ProductApiCest.php:279 6. $I->canSeeResponseIsJson() at ../ProductApi/Api/ProductApiCest.php:278 5. $I->sendPUT("/api/rest/products",{"data":{"sku":"T1568813644","name":"Payload with invalid type mother grids","fk_locale":46,"id_tax_set":2,"attribute-mother-grids":[{"amg_key":"size_shoes_valentino","amg_type":"invalid_type","st...}) at ../Api/ZedApiTesterTrait.php:67 4. $I->haveHttpHeader("Content-Type","application/json") at ../Api/ZedApiTesterTrait.php:37 3. $I->haveHttpHeader("Accept","application/json") at ../Api/ZedApiTesterTrait.php:36 2. $I->assertNotNull({"data":{"sku":"P102931SKUINVALID","name":"Payload with invalid type mother grids","fk_locale":46,"id_tax_set":2,"attribute-mother-grids":[{"amg_key":"size_shoes_valentino","am...},"The payload count not be decoded") at ../Api/ZedApiTesterTrait.php:113 Artifacts: Body: { "code": 500, "message": "No connection defined for database \u0022zed\u0022. Did you forget to define a connection or is it wrong written?", "data": [] } Response: /data/shop/development/current/tests/PyzTest/Zed/ProductApi/_output/PyzTest.Zed.ProductApi.Api.ProductApiCest.createProductWithInvalidTypeMotherGrids.fail.json
0 -
it's actually happening all the time when calling zed api
0 -
got it
0 -
glad we could help π
0 -
is it project specific or would you like to share your findings, so that the next person can be helped faster?
0 -
I guess he was missing
ConnectionHelper
in the codeption.yml0 -
ApplicationDependencyProvider->getApiServiceProviders doesn't work properly with PropelApplicationPlugin, so I had to put back the deprecated PropelServiceProvider
0 -
it is happening only for zed api calls
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 70 Spryker Safari Questions
- 50 Random