product-apim
product-apim copied to clipboard
Issue when creating APIs with large OAS definition
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.
This issue is not reproducible in master pack. (built with carbon-apimgt version 9.0.280
)
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