Could not able to create schema AWS EKS Platforms

Weaviate Version : 1.24.8

$ curl -X POST -v “http://xxxxxx.us-east-1.elb.amazonaws.com:80/v1/schema” \

-H “Content-Type: application/json”
-d ‘{
“classes”: [
{
“class”: “Article”,
“properties”: [
{
“name”: “title”,
“dataType”: [“string”]
},
{
“name”: “content”,
“dataType”: [“string”]
},
{
“name”: “date”,
“dataType”: [“dateTime”]
}
]
}
]
}’
Note: Unnecessary use of -X or --request, POST is already inferred.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 54.157.165.190:80…

POST /v1/schema HTTP/1.1
Host: adb83896cdc8d45df833bb48ee424179-1487540750.us-east-1.elb.amazonaws.com
User-Agent: curl/7.73.0
Accept: /
Content-Type: application/json
Content-Length: 335

} [335 bytes data]

  • upload completely sent off: 335 out of 335 bytes

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 422 Unprocessable Entity
    < Access-Control-Allow-Headers: Content-Type, Authorization, Batch, X-Openai-Api-Key, X-Openai-Organization, X-Openai-Baseurl, X-Anyscale-Baseurl, X-Anyscale-Api-Key, X-Cohere-Api-Key, X-Cohere-Baseurl, X-Huggingface-Api-Key, X-Azure-Api-Key, X-Google-Api-Key, X-Palm-Api-Key, X-Jinaai-Api-Key, X-Aws-Access-Key, X-Aws-Secret-Key, X-Voyageai-Baseurl, X-Voyageai-Api-Key, X-Mistral-Baseurl, X-Mistral-Api-Key
    < Access-Control-Allow-Methods: *
    < Access-Control-Allow-Origin: *
    < Content-Type: application/json
    < Vary: Origin
    < Date: Mon, 22 Apr 2024 22:24:57 GMT
    < Content-Length: 55
    <
    { [55 bytes data]
    100 390 100 55 100 335 246 1502 --:–:-- --:–:-- --:–:-- 1756{“error”:[{“message”:“‘’ is not a valid class name”}]}

  • Connection #0 to host xxxxxxus-east-1.elb.amazonaws.com left intact

Hi @Sukanta_Nanda !

This endpoint requires a GET, not a POST method:

let me know if this helps.

Thanks!