Question

validation error while creating api ticket

  • 25 March 2022
  • 2 replies
  • 159 views

Badge

Dear team 

 

Getting below validation error while creating ticket from api v2 

I have added all mandatory fields but still same 

Can anyone please check and advice 

 

{

    "description": "Validation failed",

    "errors": [

        {

            "field": "lsungsversion",

            "message": "It should be of type String",

            "code": "missing_field"

        }

    ]

}

 


2 replies

Userlevel 1
Badge +5

Hi @Shiva 

 

You could send your request and not only the body response.

It is not possible to check without your request…

Does your request working in Postman ?

 

Thanks

Badge

Hi team 

Thanks for responding, my script worked fine 

There were some fields missing and I have added and it got worked 

Reply