I experience some problems using TeamCity REST API on two different TeamCity versions. I use HTTP Auth on both of them like:
const httpAuthCredentials = "%system.teamcity.auth.userId%:%system.teamcity.auth.password%";
On first TeamCity Professional 2019.2.4 (build 72059) I can create new builds using REST API without any problems.
On second TeamCity Professional 2017.2.1 (build 50732) I can't create a build using REST API. Got the following response:
Responding with error, status code: 403 (Forbidden).\nDetails: jetbrains.buildServer.serverSide.auth.AccessDeniedException: You do not have "Customize build parameters" permission in project with internal id: project46\nAccess denied. Check the user has enough permissions to perform the operation.'
In both of this TeamCity I'm logged as Administrator (System administrator) with all existing permissions.
Maybe there are some permission differences in my request auth way.
Can someone advise something how to solve this issue?