Receiving error message ‘application/Json not supported’ in the TDM Portal

Document ID : KB000007690
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

While attempting to run APIs with Postman (form-data) and swagger (JSON format), the following errors are encountered:

  postman - 415 error:           "errorCode":  "415"

                                             "errorMsg": "Content-type '<application>' not supported"

  swagger - 415 error:            "status": 415

                                             "errorCode": "415"

                                             "errorMsg": "Content -type '<application>' not supported",

Environment:
CA Test Data Manager (TDM)- Portal
Cause:
Resolution:

The API /TDMModelService/api/ca/v1/objects for registering objects accepts multipart/form-data as the request body. Each request part (body, files) are of different content-type.

Swagger UI does not support providing this kind of request body, nor does Chrome Postman. There is another tool, SoapUI, which can be used to accomplish this.

Additional Information:

If you experience any further issues, please open a support case by going to https://support.ca.com/us.html