Skip to content

error: Received response 401 (Not Authorized) #54

@RagamRam

Description

@RagamRam

Hi,
I’m getting the below error when trying to publish an extension. I’m using a valid newly created(today) PAT for this. Can you please check and let me know the issue? I’m getting the same error when I try to publish to on-premises TFS 2015 update3 local gallery from cmdline and also using this task.

2017-11-23T05:47:33.6546956Z Extracting archive: E:\Agent-Test_work\1\s\buildtool\ragamramachandran.build-task-0.0.10.vsix
2017-11-23T05:47:33.6546956Z --
2017-11-23T05:47:33.6546956Z Path = E:\Agent-Test_work\1\s\buildtool\ragamramachandran.build-task-0.0.10.vsix
2017-11-23T05:47:33.6546956Z Type = zip
2017-11-23T05:47:33.6546956Z Physical Size = 4953
2017-11-23T05:47:33.6546956Z
2017-11-23T05:47:33.6546956Z Everything is Ok
2017-11-23T05:47:33.6546956Z
2017-11-23T05:47:33.6546956Z Files: 6
2017-11-23T05:47:33.6546956Z Size: 6050
2017-11-23T05:47:33.6546956Z Compressed: 4953
2017-11-23T05:47:33.7794964Z [command]E:\Agents_Ext_work_tasks\PublishExtension_631511b4-50ab-47c8-b766-7ae2aa672733\1.1.44\node_modules\7zip-bin-win\x64\7za.exe a ragamramachandran.build-task-0.0.10.gen.vsix E:\Agents_Ext_work_temp\vsixeditor1171023-11684-1hhfljj.0cmn9daemi* -r -y -tzip -mx9
2017-11-23T05:47:33.8262967Z
2017-11-23T05:47:33.8262967Z 7-Zip (a) 17.01 beta (x64) : Copyright (c) 1999-2017 Igor Pavlov : 2017-08-28
2017-11-23T05:47:33.8262967Z
2017-11-23T05:47:33.8262967Z Scanning the drive:
2017-11-23T05:47:33.8262967Z 2 folders, 6 files, 5937 bytes (6 KiB)
2017-11-23T05:47:33.8262967Z
2017-11-23T05:47:33.8262967Z Creating archive: ragamramachandran.build-task-0.0.10.gen.vsix
2017-11-23T05:47:33.8262967Z
2017-11-23T05:47:33.8262967Z Add new data to archive: 2 folders, 6 files, 5937 bytes (6 KiB)
2017-11-23T05:47:33.8262967Z
2017-11-23T05:47:33.8262967Z
2017-11-23T05:47:33.8262967Z Files read from disk: 6
2017-11-23T05:47:33.8262967Z Archive size: 5376 bytes (6 KiB)
2017-11-23T05:47:33.8262967Z Everything is Ok
2017-11-23T05:47:39.0991305Z error: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.
2017-11-23T05:47:39.1303307Z ##[error]tfx failed with error: Error: E:\Agents_Ext_work_tools\tfx.cmd failed with return code: 4294967295
2017-11-23T05:47:39.1303307Z ##[section]Finishing: Publish Extension
2017-11-23T05:47:39.1459308Z ##[section]Finishing: Release

image

Thanks,
Ragam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions