Adrian_Jacecko - I'm making an API call and the...
I'm making an API call and the JSON response is invalid. Why? Here is the example: {
"status": 200,
"data": {
"hierarchies": [
{
"code": "1P_ROOT",
"label": "NIE UŻYWAJ - PRODUKTY OGRANICZONE",
"label_translations": [
{
"locale": "en",
"value": "DO NOT USE - RESTRICTED PRODUCTS"
},
{
"locale": "fr",
"value": "NE PAS UTILISER - PRODUITS RESTREINTS"
},
{
"locale": "pl",
"value": "NIE UŻYWAJ - PRODUKTY OGRANICZONE"
}
],
"level": 1,
"parent_code": ""
}
]
}
}
1 Reply
The example you shared is a valid JSON, and the API call's response is also 200, which OK. Could you please share where are you getting JSON error?