Can't upload swagger file from CA LIVE API Creator 4.1 into CA API Portal 4.2
search cancel

Can't upload swagger file from CA LIVE API Creator 4.1 into CA API Portal 4.2

book

Article ID: 111622

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction

When we try and upload a swagger file that is provided from CA LIVE API Creator 4.1 into CA API Portal 4.2.x we get an error: 'Invalid file size'.

Error shown when upload more than 1MB swagger file.

Environment

CA LIVE API Creator 4.x and CA API Portal 4.2.x.
 

Cause

CA API Portal 4.2.x have a 1MB limitation for uploading Swagger/Json files.
The Development team is working to overcome this code design limit in future releases and allow up to 10MB uploads.

Resolution

The only solution at the moment is to work on the data in CA LIVE API Creator and remove un-needed tables/information to allow a smaller file to be exported from it.