product-apim icon indicating copy to clipboard operation
product-apim copied to clipboard

Issue when creating APIs with large OAS definition

Open vithu30 opened this issue 3 years ago • 2 comments

Description:

Following issue observed in browser console when creating API using large OAS definition:

Failed to execute 'setItem' on 'Storage': Setting the value of 'swagger-editor-content-cache' exceeded the quota.

vithu30 avatar Aug 16 '21 04:08 vithu30

This issue is not reproducible in master pack. (built with carbon-apimgt version 9.0.280)

vithu30 avatar Aug 17 '21 04:08 vithu30

Issue can be reproduced in APIM-3.1.0.

In UI it says

Error while adding new API : <api-name> - Error while performing registry transaction operation

In carbon console log it says

Caused by: org.apache.lucene.util.BytesRefHash$MaxBytesLengthExceededException: bytes can be at most 32766 in length; got 65103

binodmx avatar Jun 06 '22 12:06 binodmx