ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error uploading Swagger/OpenAPI 3 file


Article ID: 223653


Updated On:


CA API Developer Portal


I am trying to work with and upload Swagger/OAS3.0 documents to APIs and getting a JSON parsing error.

Unable to carry out the operation. No updates have been made. See details below.

Edit API: Sample Pet Store App

Errors (1)

    Invalid swagger file specified.


Used the tool in the link below to verify JSON file

The JSON Validator

JSONLint is the free online validator and reformatter tool for JSON, a lightweight data-interchange format


Extra comma caused the failure 


Release : 5.0

Component : API PORTAL


Removed the extra comma, once removed JSON loaded without issue