When using Bogus Gateway to do some testing and trying to retrieve orders using our template, information may come incomplete or the order can be not found.
We have found that if an order is fulfilled after using Bogus Gateway the "Retrieve Order Status" will display an error.
Example error:
or something like the following:
{"success":false,"latencyMS":437.9719120003283,"runtimeCommands":{"trace":[{"type":"debug","payload":{"message":"[ERROR]: Encountered an error in a Function step. Expected value of type 'string' for 'payload.cards.0.description.text' but instead received 'null'. Expected value of type 'string' for 'payload.cards.1.description.text' but instead received 'null'"}}]}}
However, if the order status remains Unfulfilled, the function will work just fine and display the order as expected.
Please don't hesitate to contact support if you have further questions!
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article