Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Failed to find api location for area: Location id #372

Open
erelado opened this issue Apr 6, 2021 · 2 comments
Open

[Error] Failed to find api location for area: Location id #372

erelado opened this issue Apr 6, 2021 · 2 comments

Comments

@erelado
Copy link

erelado commented Apr 6, 2021

Hi there,
Trying to manage my custom tasks using tfx-cli with my on-prem TFS 2015 server.
I'm logging in using --auth-type basic without a problem, yet whenever I try to execute any command which includes the server itself, I get the mentioned error.

C:\Users\<user>>tfx login --auth-type basic
(node:27080) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
TFS Cross Platform Command Line Interface v0.9.0
Copyright Microsoft Corporation
> Service URL: http://builder:8080/tfs/<COLLECTION>
> Username: <domain>\<username>
> Password: <password>
Logged in successfully

C:\Users\<user>>tfx build tasks list
(node:21640) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
TFS Cross Platform Command Line Interface v0.9.0
Copyright Microsoft Corporation
error: Error: Failed to find api location for area: Location id: e81700f7-3be2-46de-8624-2eb35882fcaa

I made sure I can authenticate using my IIS, and using the Team Foundation Server Administration Console the Authentication Settings are set to NTLM.

@anatolybolshakov
Copy link
Contributor

Hi @E-RELevant looks like relevant api used by tfx-cli can't be find on this tfs server version - have you tried to run it on later tfs versions?

@anatolybolshakov anatolybolshakov self-assigned this Aug 13, 2021
@erelado
Copy link
Author

erelado commented Aug 15, 2021

The issue seems to have been resolved using version 0.6.4 or earlier, which indicates something changed afterward. The workaround worked for me, but I guess it's not a real solution to the problem.

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

No branches or pull requests

2 participants