Greetings of the day Hi team, its string sort o...
# community-help
s
Greetings of the day Hi team, its string sort order not working throws the error below mentioned for your reference { "error": "Could not find a field named
sku
in the schema for sorting." }
k
Is
sku
a string? Then you have to enable sorting in the schema for it. However note that sort schema for string fields consume a bit more memory so have to be careful about memory impact.
s
yes Kishore can you sent curl request
if type string[] i update sort field its throws error Error: e: Request failed with HTTP code 400 | Server said: Field
categories
cannot be a sortabale field.
k
String array cannot be sorted on. If you have multiple values in a record, we would not know which value to sort on so it's not allowed.
s
thanks for the update @Kishore Nallan
👍 1
Hi @Kishore Nallan Please check this Curl File for your reference
k
It runs instantly
Are you having any extra filter conditions in your API key?