Hi I am trying to access the order extra fields in ecwid.
I get this error
Traceback (most recent call last): File "<string>", line 9, in the_function TypeError: 'NoneType' object is not subscriptable
I am trying to access the value in the first element of the array at least I think it is an array or dictionary.
Trying to get the Friday value.
I tried several variations of the code but I am not sure how to extract this data out. Any help is greatly appreciated.
This is the code I tried is in python.. I tried in node also with no luck. So I open to either one.
Input Data - DeliveryDay
Code
day = input.get("DeliveryDay")
dow = daya0]0'value']
output = {'DeliveryDay': dow}
This is what the input data looks like in the task history:
|