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.

Misleading Error Message When Refreshing Workflows

See original GitHub issue

Bug 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:

  1. Go to My workflows
  2. Click on Refresh All Workflows

See following error screen:

screen shot 2018-01-17 at 4 15 38 pm

┆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:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cricketsloancommented, Jan 22, 2019

Why is this not syncing

0reactions
denis-yuencommented, May 13, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

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