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] Error: Parameter token or opts.auth is required on PR

See original GitHub issue

Describe the bug We are using the v2.0.0-alpha version. When someone makes a pull request the bellow error is shown. Note that this works for some users, so it’s quite random.

home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1
module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};e[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(131)}t(__webpack_require__);return startup()}({11:function(e){e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r<t.length;r++){t[r]=arguments[r]}var n=e.apply(this,t);var o=t[t.length-1];if(typeof n==="function"&&n!==o){Object.keys(o).forEach(function(e){n[e]=o[e]})}return n}}},16:function(e){e.exports=require("tls")},18:function(){eval("require")("encoding")},49:function(e,t,r){var n=r(11);e.exports=n(once

Error: Parameter token or opts.auth is required
    at Object.getAuthString (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:3726)
    at Object.getOctokitOptions (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:65319)
    at Object.getOctokit (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:54767)
    at Object.994 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:221556)
    at __webpack_require__ (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:154)
    at Object.407 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:25532)
    at __webpack_require__ (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:154)
    at Object.210 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:12044)
    at __webpack_require__ (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:154)
    at Object.131 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:5235)home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1
module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};e[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(131)}t(__webpack_require__);return startup()}({11:function(e){e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r<t.length;r++){t[r]=arguments[r]}var n=e.apply(this,t);var o=t[t.length-1];if(typeof n==="function"&&n!==o){Object.keys(o).forEach(function(e){n[e]=o[e]})}return n}}},16:function(e){e.exports=require("tls")},18:function(){eval("require")("encoding")},49:function(e,t,r){var n=r(11);e.exports=n(once

Error: Parameter token or opts.auth is required
    at Object.getAuthString (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:3726)
    at Object.getOctokitOptions (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:65319)
    at Object.getOctokit (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:54767)
    at Object.994 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:221556)
    at __webpack_require__ (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:154)
    at Object.407 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:25532)
    at __webpack_require__ (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:154)
    at Object.210 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:12044)
    at __webpack_require__ (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:154)
    at Object.131 (/home/runner/work/_actions/cla-assistant/github-action/v2.0.0-alpha/lib/main.js:1:5235)

To Reproduce Check this PR

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ibakshaycommented, Oct 7, 2020

@ZoranPandovski, sure, sounds good…

1reaction
ZoranPandovskicommented, Oct 7, 2020

Thanks, @ibakshay for the response. I will change the event, in case the issue still happens I will reopen the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] ##[error]Parameter token or opts.auth is required #465
Describe the bug I reported this bug on the action I'm using: alex-page/github-project-automation-plus#39. read this issue to have better ...
Read more >
GitHub Actions tells me the token is unspecified when I try to ...
According to the README for the upload-release-asset action, the token has to be set in the environment: - name: Upload Release Asset id: ......
Read more >
nektos/act - Gitter
Hi, does this support the execution of .NET Core workflows on a Linux Docker image from a Windows core system? It seems to...
Read more >
Request for authentication token fails with "Missing required ...
https://api.edp.thomsonreuters.com/auth/oauth2/beta1/token. This command returns "Missing required parameter 'grant_type'" error. See below.
Read more >
Signing and authenticating REST requests
You can authenticate certain types of requests by passing the required information as query-string parameters instead of using the Authorization HTTP header.
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