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.

422 from Github API and Lint task fails

See original GitHub issue

FIrst Thanks for the action, it works great for stylelint but somehow i canoot get it to work with ESLINT.

The task always fails (also tried to run only this task for ESLINT)

This is the error i get in the console of github actions.

Thanks for looking into this

data:{“message”:“Invalid request.\n\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.\n\“end_line\”, \“start_line\” weren’t supplied.”,“documentation_url”:“https://developer.github.com/v3/checks/runs/#create-a-check-run”} } Error: Error trying to create GitHub check for ESLint: Received status code 422 at Object.createCheck (/home/runner/work/_actions/samuelmeuli/lint-action/v1.2.0/src/github.js:113:9) at processTicksAndRejections (internal/process/task_queues.js:93:5) /home/runner/work/_actions/samuelmeuli/lint-action/v1.2.0/src/index.js:15 throw new Error(Exiting because of unhandled promise rejection`); ^

Error: Exiting because of unhandled promise rejection at process.<anonymous> (/home/runner/work/_actions/samuelmeuli/lint-action/v1.2.0/src/index.js:15:8) at process.emit (events.js:210:5) at processPromiseRejections (internal/process/promises.js:201:33) at processTicksAndRejections (internal/process/task_queues.js:94:32) `

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
samuelmeulicommented, Mar 14, 2020

This doesn’t seem like an issue with this action, but your ESLint/TypeScript setup: File '/pwd/styleguide/source/js/tsconfig.json' not found

0reactions
samuelmeulicommented, Mar 14, 2020

No worries, let me know if you manage to resolve this 😃

The action should probably detect such errors though and log a more helpful error message.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API Docs - GitLab Documentation
Use the GitLab APIs to automate GitLab. REST API. A REST API is available in GitLab. Usage instructions are below.
Read more >
Android User Guide - Google Samples
The Gradle plugin now maps the lint task to the default variant's lint task instead of running it across all variants and accumulating...
Read more >
Migration failed by "error in table task after rename: duplicate ...
Many users report that the migration fails: 2021/10/16 08:45:14 ...ations/migrations.go:422:Migrate() [I] [SQL] ALTER TABLE `task` RENAME COLUMN errors TO ...
Read more >
Publishing GitHub Packages returns 422 error - Stack Overflow
This is no longer valid. Github has changed it. Most of the 422 errors when publishing to GitHub Packages seems to be related...
Read more >
I'm seeing a 422 Permission error! - Code Climate
This error most often occurs when clicking over to Code Climate from a GitHub pull request status update, or when trying to access...
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