Symptoms


Task for upgrading any Connect Package or Connect Extension itself fails with the error in core.log:

Caused by: com.parallels.pa.service.aps.api.APSEndpointExecutionException: '500 Internal Server Error' received from 'POST https://aps.connect.cloudblue.com/hub/productInitTask': Error while communicating with hub

Checking core.log further, following error can be found in the same thread:

Sep  9 13:04:51.684 : DBG [task:3467802:239680 aps-service-task-464831:3883547 pau]: c.p.p.tracer exit: com.parallels.pa.service.connectivity.ejb.EndpointExecutorBean.constructJsonErrorResp
onse returning {error=APS OpenAPI Adapter Internal Error, code=ADPT_0001, message=Exception: Error: Package metafile URI of type 'http://aps-standard.org/types/core/external/identifiers/1.2
' is not found., packageId=9d3e7cf1-4a9e-4144-9cf0-ff65d87da913, http_request=POST https://connect-cbc-adapter:8180/app/f8233b13-6ca1-4a22-b13a-c4e3d6ab4e00/importPackage} correlationId uis
pan:59b8ec4f-032a-4823-a5e3-be1308bad7fe


Cause

Outdated version of "APSv2 Abstract Types" system application is used.

It should be 21.3.0 or above.


Resolution

Check the "APSv2 Abstract Types" package version: Services > Applications > System Applications. If its version is below 21.30 - follow the instructions from this article to upgrade the package:

https://connect.cloudblue.com/community/extensions/cloudblue-commerce/prerequisites/prerequisite-1-abstract-types/


It is also highly recommended to upgrade Connect Extension to the latest available version.