I'm trying to send a POST request to my REST API and I'm getting this error and most likely due the lack of experience, I have no idea how to fix this issue:
"error": "ERROR #9406: Unexpected format for value of field, AlertText, using class base mapping",
"id": "JSONImportError",
"params": [
"AlertText",
"class base"
]
Am I missing something from my string definition?
Defined below as:
Class User.RESTComponents Extends (%Persistent, %JSON.Adaptor, %Populate)
{
Property AlertText As %String;
Here is my POST -method:







