Teamwork / github-sync

This action helps you to sync your PRs with tasks in Teamwork to streamline team collaboration and your development workflows.
https://developer.teamwork.com
MIT License
64 stars 26 forks source link

API Auth Error #4

Closed cdnicoll closed 4 years ago

cdnicoll commented 4 years ago

When running the action im getting

{"CONTENT":{"ERRORS":["Invalid token or token version"]}}

I've setup both TEAMWORK_URI and TEAMWORK_API_TOKEN within my secrets, leaving GITHUB_TOKEN. I've also followed the setup instructions here: https://developer.teamwork.com/guides/api-key-url/

Is there anything else I might be missing?

miguelbemartin commented 4 years ago

Hey @cdnicoll, thanks for taking the time to open an issue for us.

Here at Teamwork, we are preparing a new way to generate the "API TOKEN" by using our developer portal in order to make it easier for the future.

I will create a PR adding support to the API TOKEN you are trying to use.

miguelbemartin commented 4 years ago

Hey @cdnicoll, could you try again and confirm it is working now?

cdnicoll commented 4 years ago

@miguelbemartin It is. Thank you for the quick reply and fix.

It looks like comments are coming through as [https://github.com/XXXX/<PROJECT>/pull/8](https://github.com/XXXX/<PROJECT>/pull/8) on Teamwork side, but thats nothing major. It can be tracked in another issue if need be.

miguelbemartin commented 4 years ago

@cdnicoll Thanks again for your feedback. Could you open an issue with the details of the problem?