Baking Clouds Ltd

Baking Clouds provide tailored IT consultancy services to small and medium-sized companies; we cover all aspects of IT without any hidden costs.

How to Resolve “Invalid CSRF Token” Issue in VMware SDDC Manager

Have you ever encountered the “Got bad CSRF token: invalid CSRF token” error in VMware SDDC Manager when trying to disconnect a VMware Depot? This short post offers a quick fix that worked for me and might save you some troubleshooting time.

The Issue

When trying to disconnect a VMware Depot, you may see a prompt like this:

Baking Clouds - How to Resolve "Invalid CSRF Token" Issue in VMware SDDC Manager

“Are you sure you want to disconnect the VMware depot? Disconnecting will delete all stored details about this depot.”

After confirming, instead of proceeding, you encounter this error:

“Got bad CSRF token: invalid CSRF token”

This usually happens due to session issues, cached tokens, or a stale session. Here’s a quick fix that worked for me.

The Solution: Try a Different Browser

Sometimes, simply switching your browser can resolve the problem. Here’s what worked:

  1. Switch to a different browser: If you’re using Chrome, try switching to Edge or Firefox.
  2. Clear cache and cookies: Before switching, it might also help to clear your browser’s cache and cookies or open a new incognito/private browsing session.

In my case, switching to Microsoft Edge immediately resolved the CSRF token error.

Why It Works

Each browser handles session tokens and caching slightly differently. By switching browsers, you essentially start a fresh session, bypassing any stale data or cached tokens that could be causing the CSRF error.

Hopefully, this quick fix saves you time and gets you back on track without needing to open a Broadcom support case. Sometimes, the simplest solutions work best! If this helped you, feel free to share it with others who might run into the same issue. 😊 Happy troubleshooting!

How to Resolve “Invalid CSRF Token” Issue in VMware SDDC Manager
Scroll to top