Error uploading Swagger/OpenAPI 3 file
search cancel

Error uploading Swagger/OpenAPI 3 file

book

Article ID: 223653

calendar_today

Updated On: 05-14-2025

Products

CA API Developer Portal

Issue/Introduction

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.

Environment

All supported versions of the CA API Developer Portal

Cause

Used the tool in the link below to verify JSON file 

https://jsonlint.com/

The JSON Validator

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

 

Extra comma caused the failure 

Resolution

Removed the extra comma, once removed JSON loaded without issue