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.

[BUG] Failed to create source Github: New Card in Column for a specific Github Project

See original GitHub issue

Describe the bug On Pipedream @pd-component-dev org, I have created a new workflow and attempted to create a source Github: New Card in Column for Pipedream Github Project: Component (Source and Action) Backlog, but there’s an error when I tried to save the Source

To Reproduce Steps to reproduce the behavior:

  1. Login into Pipedream’s @pd-component-dev org
  2. Create a new Workflow
  3. Add the trigger Github: New Card in Column with the information in the image below
  4. Observe the error: HttpError: Not Found Screen Shot 2022-07-21 at 13 23 28

Expected behavior The source Github: New Card in Column should be created successfully, and is triggered when a card created or moved into the column

Additional context I successfully created the source Github: New Card in Column on my personal account, with personal Github Project. So I suspect this issue occurred specifically for Pipedream Github Project image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
alysonturingcommented, Aug 8, 2022

Hello @alysonturing, thank you for checking! I think we can improve our error message to inform the user that their connected Github account might not have enough permissions. For example, the error message can be:

HttpError: Not found. 
This might due to your connected Github account does not have enough permission to perform this action.

@alysonturing @andrewjschuang what do you think?

I agree with that

0reactions
andrewjschuangcommented, Aug 19, 2022

From this link:

Tip: Only members with owner privileges for an organization or admin privileges for a repository can manage webhooks for an organization. For more information, see “Roles in an organization.”

I have tested this, and for organization repositories, the token must have admin privileges (maintainer is not enough) and at least public_repo and read:org scopes to create webhooks, along with others required by the trigger.

Closing this since the underlying issue and fix is described above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Marketplace Actions Add new issue to column - GitHub
This action automatically adds issues or pull requests to a specific column in a project. A new project card gets created that references...
Read more >
Adding issues and pull requests to a project (classic)
You can add issues and pull requests to a classic project in the form of cards and triage them into columns. Notes: Projects,...
Read more >
About projects (classic) - GitHub Docs
You can create classic projects for specific feature work, comprehensive roadmaps, ... and notes that are categorized as cards in columns of your...
Read more >
peter-evans/create-or-update-project-card - GitHub
Update a project card. If a card already exists in project My project for issue 1 , the action will check if the...
Read more >
[Projects Beta] Project board crashes when adding new ...
On the new beta version of projects, attempting to add a column with a specific name crashes the board and displays a "The...
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