Hi,
I need your help. The problem is easy to detect, but I can't find the solution.
I have already visited some possible solutions, but they have not been successful for me.
Currently, I am using the headers: accept and content-type, application/json. This is a GET query.
--- Error:
Error location: /ATN_CIF__c/0. instance type (null) does not match any allowed primitive type (allowed: [\"string\"])"
--- Response:
{
"translationMap": {
"Id": "$.records[*].Id",
"Name": "$.records[*].Name",
"ATN_CIF__c": "$.records[*].ATN_CIF__c"
},
"translationMapDefaults": {
"Id": "[]",
"Name": "[]",
"ATN_CIF__c": "[]"
},
"successTemplate": "{\"Id\":${Id}, \"Name\":${Name},\"ATN_CIF__c\":${ATN_CIF__c}}"
}
--- Apply output transformation:
{
"Id": [
"0015t***Z",
"0015t**Z"
],
"Name": [
"nadp",
"B Genesys Cloud"
],
"ATN_CIF__c": [
null,
"123456789"
]
}
--- Validate output against schema:
{
"message": "JSON failed output schema validation for the following reasons: Schema: # @/properties/ATN_CIF__c/items. Error location: /ATN_CIF__c/0. instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
"code": "invalid.schema",
"status": 400,
"messageParams": {},
"contextId": "3245db85-74f2-4156-****-5af49818d96c",
"details": [
{
"errorCode": "ACTION.PROCESSING"
}
],
"errors": []
}
Thanks in advance.