When testing out the postman services on my local Experience Commerce instance, I would get the following error when attempting to add a snapshot to a price card:
TypeError | Cannot read property 'find' of undefined
 |
Postman console showing: Cannot read property 'find' of undefined |
It turns out that the Postman example had the date in american format of
mm/dd/yyyy where as my timezone is New Zealand, the expected format was
dd/mm/yyyy. Changing the order of day and month allowed the
AddPriceSnapshot API call to succeed.
No comments:
Post a Comment