Issue
When editing or removing Meraki cloud API credentials in Auvik, you may receive the following error:
There was an error completing the operation
As a result, the credential update or removal does not complete successfully.
Cause
This error can occur for several reasons, including:
- Attempting to edit or remove credentials from the wrong scope (global versus site level).
- An invalid, revoked, or expired Meraki API key.
- An active synchronization process between Auvik and Meraki.
- Insufficient user permissions to modify integrations.
- Temporary API communication or service-side errors.
Resolution
Verify the Credential Scope
Confirm that you are editing or removing the credential from the same scope where it was originally configured:
- Global (MSP) level
- Multi-site level
- Site level
If the credential exists at a different scope, update or remove it there instead.
Validate the Meraki API Key
In the Meraki Dashboard, verify that:
- The API key is active.
- The associated user account is enabled.
- The API key has not been revoked or regenerated.
If necessary, generate a new API key and update the integration.
Wait for Synchronization Tasks to Complete
If a Meraki synchronization is currently running:
- Allow the sync to finish.
- Refresh the page.
- Retry the edit or removal operation.
Verify User Permissions
Ensure your Auvik account has the required permissions to manage cloud integrations and credentials.
Disable the Integration and Retry
If the issue persists:
- Temporarily disable or unmanage the Meraki integration.
- Wait for any background processes to complete.
- Retry removing the credential.
Revoke the API Key in Meraki
If Auvik cannot remove the credential:
- Log in to the Meraki Dashboard.
- Revoke the API key associated with the integration.
- Return to Auvik.
- Attempt to remove the credential again.
Clear Browser Data
To rule out browser-related issues:
- Clear browser cache and cookies.
- Sign out and sign back in.
- Retry the operation in an incognito or private browsing window.
Review Error Details
Review available integration logs or browser developer tools for API-related errors.
Common HTTP response codes include:
| HTTP Code | Description |
|---|---|
| 401/403 | Authentication or authorization failure |
| 429 | API rate limit exceeded |
| 500/503 | Temporary service-side error |
| 504 | Request timeout |
If 429 or 5xx errors are present, wait several minutes and try again.
Additional Information
Windows Server operating system updates on a server hosting an Auvik Collector do not typically affect the ability to edit or remove Meraki cloud API credentials. Troubleshooting should focus on credential validity, permissions, synchronization status, and integration health.
