“There was a problem updating your CNAME” error in the Dashboard

Description

A user may find that they are unable to update a CNAME from within the Dashboard. The following error will appear in a pop-up:

There was a problem updating your CNAME, please contact support

Cause

The UI for setting the domain name has a very strict validation, so it may just be rejecting this domain.

Solution

The best way to set the domain is to use the Tyk Dashboard Admin API, to obtain the organisation object via a GET request and then update the object using a PUT request with the relevant CNAME added to the body of the request.[1] Restarting the process will then set the domain.

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.