Getting the "APIproxy revision XX does not exist" error on undeploy?

2 0 589

If the deployments are failing with the below error immediately after an undeploy (43 for example), chances that the API revision was partially deleted in cassandra .

{
  "code": "messaging.config.beans.ApplicationRevisionDoesNotExist",
  "message": "APIProxy revision 43 does not exist for APIProxy $APIname in organization $orgname",
  "contexts": []
}

To confirm you can check with the below steps on OPDK .

If either of the 2 columns are missed the apiproxy is partially deleted in C*

cd /../apache-cassandra-1.2.11/bin/ 
sh cassandra-cli -host $ip
use apprepo;
get api_proxy_revisions_r21['$orgname@$APIname'] ['s@$revision:s@$APIname.xml'];
get api_proxy_revisions_r21['$orgname@$APIname'] ['s@revisions:s@$revision'];
Version history
Last update:
‎03-06-2015 03:51 PM
Updated by: