I’m trying to get a value with an API call, and store this in a Bubble database.
The API part I’m using looks like this in the raw data:
"meta_data": [
{
"id": 54912,
"key": "_yoast_wpseo_profile_updated",
"value": "1599261621"
},
{
"id": 54929,
"key": "shipping_method",
"value": [
"parcelpro"
]
},
{
"id": 54930,
"key": "billing_house_number",
"value": "2"
},
{
"id": 54932,
"key": "billing_street_name",
"value": "Main street"
},
{
"id": 54933,
"key": "billing_em_ver",
"value": "test@outlook.com"
},
{
"id": 54934,
"key": "shipping_house_number",
"value": "8"
},
{
"id": 54936,
"key": "shipping_street_name",
"value": "Test street"
},
{
"id": 54937,
"key": "wc_last_active",
"value": "1600128000"
}
]
I need the value “Test street” for example. So I tried to use:
step 1: The API call
step 2: Result of step 1’s meta_data: item #7’s value.
This turned out to be empty. And checking the evaluator, item #7 looks like this:
item #7:
id : 54936
key : shipping_street_name
value: (empty)
Why is this value empty?
I cán get the “id” and the “key” without a problem.
The weird thing is, I can get none of the “values”, except for the value “parcelpro”, which is between [ ] instead of { }
Any idea’s ?