Loading

Error "An unexpected error occurred while processing your request" Configuring SAML on Tableau Cloud After Uploading Invalid Metadata

Publiceringsdatum: Nov 6, 2025
Beskrivning

When attempting to configure and save a new SAML configuration on Tableau Cloud, the following error occurs:

 An unexpected error occurred while processing your request

Alternatively, a blank screen may display with a success message, and the newly saved configuration does not appear on the Settings > Authentication page. 

Lösning

Important: It is critical that any existing and functioning SAML, OIDC, Salesforce or Google configurations are not deleted. Please ensure to note any valid configurations that are not intended to be removed before deleting any configurations. 

 

Use the steps below to workaround the issue by removing the invalid SAML configurations. 

 

  1. Identify the invalid SAML configurations and their identifiers (idpConfigurationId):
    1. Use Postman or Curl to obtain the credentials token using the instructions here: https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_authentication.htm#sign_in
      1. Alternatively, after logging into Tableau Cloud in a web browser, the credentials token can be found using the "X-Tableau-Auth" cookie value from the browsers Developer Tools > Application > Cookies > workgroup_session_id
    2. Open Terminal on Mac, and run the following command:
      curl "https://<pod prefix>.online.tableau.com/api/3.26/sites/<site LUID>/site-auth-configurations" -X GET -H "X-Tableau-Auth:<workgroup_session_id value>"
    3. From the results, identify the invalid SAML configurations (SAML configs that do not display on the Authentication > Settings page are invalid and must be removed).
  2. Delete the invalid configuration: 

 

Mac

curl --location "https://<pod-prefix>.online.tableau.com/vizportal/api/web/v1/deleteSiteSAMLConfiguration" \
--header "content-type: application/json;charset=UTF-8" \
--header "cookie: <insert cookie value" \
--header "x-xsrf-token: <insert value>" \
--data "{\"method\":\"deleteSiteSAMLConfiguration\",\"params\":{\"idpConfigurationId\":\"<insert value>\"}}"

 

Note: The cookie value is the entire value shown for the cookie header on http requests to online.tableau.com 

 

Windows

curl --location “https://<pod-prefix>.online.tableau.com/vizportal/api/web/v1/deleteSiteSAMLConfiguration” ^
--header “content-type: application/json;charset=UTF-8" ^
--header “cookie: <insert cookie value>” ^
--header “x-xsrf-token: <insert value>” ^
--data “{\“method\“:\“deleteSiteSAMLConfiguration\“,\“params\“:{\“idpConfigurationId\“:\“<insert value>\“}}”

 

Note: The cookie value is the workgroup_session_id found in the cookie header.

 

 

If an error persists after manually removing all invalid configurations, then the SAML metadata is likely invalid and should be reviewed to identify invalid contents. 

Knowledge-artikelnummer

004517778

 
Laddar
Salesforce Help | Article