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

Document ID : KB000111622
Last Modified Date : 20/08/2018
Show Technical Document Details
Issue:
When we try and upload swagger file that provide 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.