on 07-23-2018 8:47 PM
Hi,
We are using OCC rest service “/users/{userId}/carts/{cartId}/entries” to add multiple products to a single cart. This is done using parallel calls through threads where each call adds a single product to the same cart. The call works for the first time with only 2 products but fails if more than 3 products are used. Also, the call fails if I make a second call to add the same 2 products again. We are using Spring 5 Webdlux to initiate these parallel service calls.
We get a error “400 Bad Request” in the consumer, also following entries are created in the Hybris logs :
[RestHandlerExceptionResolver] Translating exception [de.hybris.platform.jalo.JaloObjectNoLongerValidException]: item 8796191391788 no longer valid (was removed): object no longer valid [RestHandlerExceptionResolver] de.hybris.platform.servicelayer.exceptions.ModelSavingException: item 8796191359020 no longer valid (was removed): object no longer valid
We are using the Hybris version 6.6
Can any one of you please provide some inputs here ASAP.
Regards, Manish
you could try to throttle the number of requests either at the FE application you use or using a Filter in hybris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.