question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when uploading custom tasks using v0.7.3

See original GitHub issue

We have a few custom tasks in Azure DevOps that we manage and are available to use company-wise. There is a release pipeline that uploads all the tasks if a new version is available using the tfs-cli (controlled via a PowerShell script). Today we were seeing errors when we attempted to upload the tasks:

error: Error: {“count”:1,“value”:{“Message”:“The requested resource does not support http method ‘POST’.”}}

The pipeline is installing the cli tool with ‘npm’: install -g tfx-cli and we upload the tasks with the following command: tfx build tasks upload --overwrite --task-path $uploadPath --service-url $collection --auth-type pat --token $pat. The listing command (tfx build tasks list --service-url $collection --auth-type pat --token $pat) is working as before. Nothing was changed in the script or the release process.

After we specified the previous version for npm (install -g tfx-cli@0.6.3) it was working again so this issue might be due to a change presented in the latest version I suppose?

Full logs we have from Azure DevOps for failed attempts:

2019-04-17T07:31:26.2169485Z Uploading task… 2019-04-17T07:31:27.4244699Z TFS Cross Platform Command Line Interface v0.7.3 2019-04-17T07:31:27.4258513Z Copyright Microsoft Corporation 2019-04-17T07:31:31.5682886Z error: Error: {“count”:1,“value”:{“Message”:“The requested resource does not support http method ‘POST’.”}}

After specifying version 0.6.3.:

2019-04-17T07:44:02.6556963Z Uploading task… 2019-04-17T07:44:03.9849281Z TFS Cross Platform Command Line Interface v0.6.3 2019-04-17T07:44:03.9857007Z Copyright Microsoft Corporation 2019-04-17T07:44:18.1194130Z 2019-04-17T07:44:18.2793401Z Task at c:\agent_A_work\XXX uploaded successfully!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
calebcartwrightcommented, May 29, 2019

v0.7.6 is working for me now, thanks!

1reaction
T-Hugscommented, May 28, 2019

Fix will be published today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release upload Failed #1180 - microsoft/appcenter-cli - GitHub
I'm using the latest version of the appcenter CLI ( 2.7.3 ) ... Release upload was aborted Error: Loading release id failed with...
Read more >
Upload custom build tasks fails in TFS 2017 Update 1
Ah. When I add a collection name, the upload command works. list and delete works fine without. I have never entered collection name...
Read more >
[ROM] The Base v0.7.3 [12/10][UNLOCKED ONLY ... - XDA Forums
The Base The Base is a super customizable ROM that includes Base Settings, made by me. All mods were done by me except...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
systemPrefs with at least two files" status:RESOLVED resolution:OBSOLETE ... Bug:70028 - "[PATCH] PORTAGE_BINHOST with custom FTP-port doesn't work" ...
Read more >
Overview - ScoreboardStatsX - Bukkit Plugins - Projects - Bukkit
Please use the Tickets for any issues, errors or suggestions. ... [ScoreboardStats] Task #165 for ScoreboardStats v0.7.3 generated an exception java.lang.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found