I can reproduce the issue in postman using the url and bearer token. Other API calls work fine.
var httpClient = CreateHttpClient(m_credentials.UserName, m_credentials.Password, HttpContentTypes.TextPlain);
var response = httpClient.Post(url, null, HttpContentTypes.TextPlain);
ThrowIfHttpError(response, url);
I tried to change the HttpContentTypes to the other values but get the same error.
This is a new version we just upgraded to: TeamCity Professional 2020.2.1 (build 85633)
I can reproduce the issue in postman using the url and bearer token. Other API calls work fine.
var httpClient = CreateHttpClient(m_credentials.UserName, m_credentials.Password, HttpContentTypes.TextPlain);
var response = httpClient.Post(url, null, HttpContentTypes.TextPlain);
ThrowIfHttpError(response, url);
I tried to change the HttpContentTypes to the other values but get the same error.
This is a new version we just upgraded to: TeamCity Professional 2020.2.1 (build 85633)