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

Unexpected Token Error #6

Open
WillM05 opened this issue Apr 27, 2018 · 1 comment
Open

Unexpected Token Error #6

WillM05 opened this issue Apr 27, 2018 · 1 comment

Comments

@WillM05
Copy link

WillM05 commented Apr 27, 2018

I receive the following error when running Version 2.2.5 of this task on TFS 2017 Update 1 RTM:
##[error]Unhandled: Unexpected token ...

I also ran in debug mode but did not receive any additional information.

I am able to use another TFS extension and was able to successfully post a message to the same space, channel and API token.

I have also confirmed that the token I'm using is XOXP and the Slack app has chat:write:user and chat:write:bot scopes.

@HolisticDeveloper
Copy link

I believe this is because the agent in TFS 2015.2 through TFS 2017.1 only uses Node v5.10.1. Not sure that there is an easy fix for that, though.

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

No branches or pull requests

2 participants