Misleading Error Message When Refreshing Workflows
See original GitHub issueBug Report
If there is an error refreshing workflows because your GitHub token doesn’t have the correct scope, the error message says it failed trying to create/modify
, which could be read as Dockstore was trying to modify something in your GitHub account.
Expected behaviour
If refreshing workflows fails due to an authorization issue, the error message should not say it was trying to create or modify anything.
Actual behaviour
It says it was trying to create/modify
.
Steps to reproduce the behaviour
To reproduce this, you have to be in a state where your GitHub token is missing a scope. I don’t know how you into that state, but once you are:
- Go to
My workflows
- Click on
Refresh All Workflows
See following error screen:
┆Issue is synchronized with this Jira Story ┆Fix Versions: Dockstore 1.7 ┆Issue Number: DOCK-202 ┆Sprint: Seabright Sprint 10 Jet Ski ┆Issue Type: Story
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Troubleshoot common workflow errors
Review the common workflow errors below. Errors can either be caused by how the workflow is set up or by issues with the...
Read more >SharePoint 2013 Workflow Error “To try again, reload the page ...
Something went wrong. To try again, reload the page and then start the workflow. If you select Settings (the gear icon), and then...
Read more >Workflow errors - Google Cloud
Errors for Workflows might be raised, for example, by failed HTTP requests, functions, connectors, or generated by your own workflow code.
Read more >Workflow Automation: Errors and Troubleshooting Tips
Solution: Remove Contact Member before triggering flow. PodioForbiddenError: "The app with id ## does not have the right view on profile with id ......
Read more >Getting error "something went wrong. to try again, reload the ...
You need to check your ULS log to find the exact error cause workflow stop running. Also you always need to mention your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why is this not syncing
I think getting rid of create/modify is fine, its usually not useful. I do like keeping the http status codes, makes bug reports (user or other-wise) more helpful.