Urgent: PlentyRESTBaseException for PlentySearchOrders

Hello,

There is a mistake in the API call an „s“ is missing for relation, it should be relations:

this make Plenty crashes.

this problem started on Aug 12, flow „2-Dispatch_Notification_multi_parcels2“

Please correct as soon as possible.

Best,
Nicolas

Hello,

we have now tested it in different systems and could not reproduce this error.
You are right, in the doc it says „realtions“, but unfortunately this is not correct as it says in the doc or it also works with „relation“.
Can you please try to use the step in a separate testflow and play a bit with the filter options to see if the error always comes.
It is also best to contact Plenty directly.

Kind regards
Lukas

Hi,

This error appear when you add a referrerId to the call, example I have an error with my Postman:
https://www.host.com/rest/orders/?referrerId=35&with[1]=relation

if you add the „s“ then it works:
https://www.host.com/rest/orders/?referrerId=35&with[1]=relations

Plentymarkets updated to PHP version 8 for us, this is probably why it’s not working anymore but not all clients are updated to this version yet, that is probably why it’s working with you on different systems.

I have already played with filters but unfortunately the problem persists.

PS: there no need to contact Plenty directly, the problem is from Synesty not Plenty.

Best,
Nicolas

Hi @syprodi-nicolas.

can you please create a support-ticket, so we can look more into it with detail?

Kind regards
Lukas

Hi,

I have created a support ticket, ID #3715393

Thank you,
Nicolas