Cannot add API to API Group in CA API Developer Portal

Document ID : KB000104023
Last Modified Date : 27/07/2018
Show Technical Document Details
Issue:
The API Group is already defined. The API Group has applications and organizations. When trying to add new API to the api group the error seen is 
"There was an error submitting the form, the changes were not saved."
 
Environment:
CA API Developer Portal - 3.5 CR6
Cause:
The issue is associated with the presence of orphaned APIs in Portal. This can occur due to incorrectly deleting the APIs in Portal or  deleting the APIs in gateway.
Following error would be seen in catalina.out file

05/16 11:26:41.779 INFO (http-nio-37080-exec-3:) - [FormDefinition general] -- <Failures><Failure message="" name="GroupMembers" type="formfield" code="cms-groupmembers-validationURI"></Failure></Failures> 
Resolution:
The issue can be resolved using this KB article( below). This explains how to delete the orphaned APIs.
https://comm.support.ca.com/kb/api-developer-portal-adp-orphaned-apis-and-how-to-remove-them-from-an-environment/kb000042842

Before adding the API to API Group do the following

1. restart the apiportal service.
2. Clear the browser cache.