Skip to content

Calling StartBackup responds with an error: Responding with error, status code: 415 (Unsupported Media Type). #32

Description

@lyleMACTexas

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions