Hello! Hoping someone can help me. I’m trying to c...
# azure
f
Hello! Hoping someone can help me. I’m trying to create a ServerlessEndpoint in machinelearningservices, and getting a not very helpful error message. I’m guessing it might be because I have incorrect values in ServerlessOfferArgs, but I’m really grasping at straws. Here’s the code:
Copy code
serverless_endpoint=azure.machinelearningservices.ServerlessEndpoint(
    "serverlessEndpoint",
    resource_group_name=resource_group.name,
    workspace_name=ml_project.name,
    serverless_endpoint_properties=azure.machinelearningservices.ServerlessEndpointArgs(
        offer=azure.machinelearningservices.ServerlessOfferArgs(
            offer_name="mistral-ai-large-2407-offer",
            publisher="000-000"
        )
)
and here’s the error message:
Copy code
azure-native:machinelearningservices:ServerlessEndpoint (serverlessEndpoint):
    error: Code="UserError" Message="Error when parsing request; unable to deserialize request body" Details=[] AdditionalInfo=[{"info":{"value":"managementfrontend"},"type":"ComponentName"},{"info":{"value":{"operation":"ca0d5eaf8834d160bf37ace50728ff72","request":"ced8fec3312eb4b1"}},"type":"Correlation"},{"info":{"value":"westus"},"type":"Environment"},{"info":{"value":"westus"},"type":"Location"},{"info":{"value":"2024-10-18T14:30:06.1115485+00:00"},"type":"Time"}]
Appreciate any insight anyone can give me, thank you!