createPost Query Params error

Hello guys!! I did not change anything in my API implementation and I am receiving an error when trying to create a post. This is my mutation

mutation CreatePostMutation($input: CreatePostInput!) {
    createPost(spaceId: "mFobkx9QUyIY" input: $input) {
        id
        title
        postTypeId
        repliesCount
        space {
            id
            name
            slug
        }
        postType {
            id
            name
            updatedAt
            mappings {
                key
                title
                type
                field
                description
            }
        }
    }
}

My variables

{
  "input": {
    "postTypeId": "udE3pz9DBGv7nsr",
  "mappingFields": {
    "key": "content",
    "type":"text",
    "value": "hola"
  }
  }
}

What could be wrong?? This is the error

Error:

Params Failed",

"timestamp": "2023-05-02T19:54:42.961Z",

"code": "100",

"help": "https://partners.tribe.so/",

"errors": [

{

"subcode": 106,

"message": "value should contain at least one character.",

"field": "mappingFields.0.value"

}

],

"status": 400,

"locations": [

{

"line": 2,

"column": 3

}

],

"path": [

"createPost"

],

"extensions": {

"message": "Validation Params Failed",

"timestamp": "2023-05-02T19:54:42.961Z",

"code": "100",

"help": "https://partners.tribe.so/",

"errors": [

{

"subcode": 106,

"message": "value should contain at least one character.",

"field": "mappingFields.0.value"

}

],

"status": 400

}

}

],

"data": null

}

3 replies