I am trying to create a Search Attribute using the Create Search Attribute Config API but I am getting 400 error. Below is the body and URL I am using please let me know if there is any issue in calling the API. API URL
"detailCode": "400.0 Bad request syntax",
"trackingId": "c23546e814bd464d8542735a5f5428d5",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request could not be parsed."
}
],
"causes": []
I am getting this error when using the same api call:
{
"detailCode": "404 Not found",
"trackingId": "6211a278207e4a54a96eecd772fcdcfd",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server did not find a current representation for the target resource."
}
],
"causes": []