When attempting to create a test on a website page, a web application might get the
403 forbidden "The required anti-forgery cookie is not present" error if whitespace is present in the site name. Users can experience the issue for both SXA and non-SXA websites.
To resolve the issue:
- Change the site name, to remove all white spaces.
- Clear the cookies.
Note that you must
avoid using characters (in your website names) that are invalid for the website cookies, such as control characters, white spaces (" "), semicolons, or commas.