green-autumn-83234
04/09/2025, 2:13 PM{"error":{"code":500,"status":"Internal Server Error","request":"691a8edf-9869-9ec0-a6bc-5e1f4faf112b","reason":"Unable to parse validate JSON object against JSON schema.","message":"An internal server error occurred, please contact the system administrator"}}
var traits = new Dictionarystring, object {
["email"] = sourceData.Email ?? "",
["name"] = new Dictionarystring, string {
["first"] = firstName,
["last"] = lastName
}
};
var createIdentity = new ClientCreateIdentityBody(
schemaId: "https://schemas.ory.sh/presets/kratos/identity.email.schema.json", // Required parameter
traits: traits // Required parameter
);
{
"$id": "https://schemas.ory.sh/presets/kratos/identity.email.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
xxx
}
And one example of a user created normally
{
"email": "[email protected]",
"name": {
"first": "Antoine",
"last": "Moreau"
}
}
Where Am I wrong ?steep-lamp-91158
green-autumn-83234
04/09/2025, 2:18 PMgreen-autumn-83234
04/09/2025, 2:18 PMgreen-autumn-83234
04/09/2025, 2:18 PMgreen-autumn-83234
04/09/2025, 2:18 PMsteep-lamp-91158
green-autumn-83234
04/09/2025, 2:20 PMgreen-autumn-83234
04/09/2025, 2:20 PMsteep-lamp-91158
steep-lamp-91158