Urgent Help Needed: API Proxy revision error

Our apigee UI is showing : “API proxy has no revisions.It is recommended that you delete this API proxy”. Although there is no disruption to run time traffic.

Management api call to GET api revisons shows ‘404’ but deployments status shows api is deployed to revision ‘1’ with all the uuid’s of the mp and router.

Tried restarting Routers, MPs and Management Servers but UI still showing the error.

Reindexing in cassandra is also carried out but didn’t fix the issue.

Could you please let us know how do we fix this issue without redeploying of api proxies?

@dino

Hi @sonal2008 ,
This issue usually means the management layer metadata is out of sync with the runtime.

You’ve already tried good steps — here’s what else you can try:

  • Run apigee-adminapi sync (if available) to resync management data.

  • Use the management server API to manually refresh revisions.

  • If using Apigee hybrid, check org-level Cassandra repair.

  • As a last resort, export the proxy, delete it, and re-import — this avoids full redeploy.

1 Like

Are you using the UI? I suggest using the Mgmt API to query the deployment status of the revision. This can show you per-node error messages from the router and MP related to this particular proxy revision, information that is not accessible normally from the UI.

The other thing you can try is scanning the MP log file for error messages associated to the deployment.

Thanks @dchiesa1 for looking into this. We are redeploying apis to fix this issue but we have encountered a new issue . Some of the consumer credentials are missing from prod. We are trying to restore dev cassandra nodes with prod backup and we can then query using csql/management apis to get the credentials and add to prod. Have below queries on this

Tried below:

  • create like to like dev env as prod - cassandra has 3 nodes
  • download tar.gz backup file from prod s3 and upload to dev apigee cassandra at /opt/apigee/backup/apigee-cassandra
  • Remove everything inside /opt/apigee/data/apigee-cassandra and /opt/apigee/etc/apigee-cassandra.d
  • Restore:/opt/apigee/apigee-service/bin/apigee-service apigee-cassandra restore backup-2025.04.27,03.00.01.tar.gz
  • Gives error as ‘apigee-service: apigee-cassandra: Error: Backup file backup-2025.04.27,03.00.01.tar.gz not found’

Why is it erroring out with this?

Tried below as well:

Note: Created cassandra folder and put backup file inside and tried

/opt/apigee/apigee-service/bin/apigee-service apigee-cassandra restore

/opt/apigee/apigee-cassandra-2.1.22-0.0.2562/lib/actions/restore: line 12: cd: /opt/apigee/backup/cassandra: Permission denied

apigee-service: apigee-cassandra: Error: Latest backup not found

Followed the restore docs but didn’t get success. could you please suggest if restoring dev would work with prod backup?

Thanks

Sonal