Hi Guys........ A bit of a numpty Q , i shouldn't really be getting this but there you go, and the error documentation is a little poor.
With this request
curl
https://XXXXX/api/v1/entities/organizationSettings \
-H "Content-Type: application/vnd.gooddata.api+json" \
-H "Accept: application/vnd.gooddata.api+json" \
-H "Authorization: Bearer YYY” \
-X POST \
-d '{
"data":
{
"type": "organizationSetting",
"id": "locale",
"attributes": {
"content": {"value": "{en-US}"}
}
}
}' | jq
I’m getting this error,
{
"detail": "Valid IETF BCP 47 Code locale ID must be specified",
"status": 400,
"title": "Bad Request",
"traceId": "aa04252949cd41a6f0c59d334f3523ae"
}