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.

UnhandledPromiseRejectionWarning: Error: Missing required parameters: packageName

See original GitHub issue

I’m trying to upload to the “Internal Testing” track of Google Play and I’m getting the following error:

Finished uploading to the Play Store (node:2843) UnhandledPromiseRejectionWarning: Error: Missing required parameters: packageName at createAPIRequestAsync (/home/runner/work/_actions/r0adkll/upload-google-play/v1/node_modules/googleapis-common/build/src/apirequest.js:117:15) at Object.createAPIRequest (/home/runner/work/_actions/r0adkll/upload-google-play/v1/node_modules/googleapis-common/build/src/apirequest.js:53:16) at Resource$Edits$Tracks.get (/home/runner/work/_actions/r0adkll/upload-google-play/v1/node_modules/googleapis/build/src/apis/androidpublisher/v3.js:1204:44) at /home/runner/work/_actions/r0adkll/upload-google-play/v1/lib/edits.js:255:59 at Generator.next (<anonymous>) at /home/runner/work/_actions/r0adkll/upload-google-play/v1/lib/edits.js:27:71 at new Promise (<anonymous>) at __awaiter (/home/runner/work/_actions/r0adkll/upload-google-play/v1/lib/edits.js:23:12) at getPublishedReleaseName (/home/runner/work/_actions/r0adkll/upload-google-play/v1/lib/edits.js:254:12) at Object.<anonymous> (/home/runner/work/_actions/r0adkll/upload-google-play/v1/lib/edits.js:83:47) (node:2843) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:2843) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Here’s my step:

  - name: Deploy to Google Play Internal Testing
    uses: r0adkll/upload-google-play@v1
    with:
      serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
      packageName: com.my.package.name
      releaseFiles: ${{ steps.sign_bundle.outputs.signedReleaseFile }}
      track: internal

I’ve changed the package name for the sake of this example, but I really do have a packageName set, contrary to what the error message claims. Any ideas?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
r0adkllcommented, Dec 9, 2020

Sorry about this everyone, and thanks to @xom9ikk for the PR. It should be live under v1 and v1.0.9

3reactions
xom9ikkcommented, Dec 9, 2020

@emme1009, @JonatanSalas @devapalanisamy @NicholasTempleton @WieFel Issue fixed in pull request #47. Please wait next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Missing required parameters for [Route] after upgrading ...
Your error tells you that your playlist_song parameter is missing. You will need to specify its value. A try would be
Read more >
POST/v1/files/:file_key/comments: Missing required parameter ...
Hi, When I call REST API with token from OAuth I got {"error":true,"status":400,"message":"Missing required parameter message_meta" ...
Read more >
Missing required parameter: scope | Error Resolved - YouTube
Missing required parameter : scope | Error Resolved |Google Oauth. Watch later. Share. Copy link. Info. Shopping. Tap to unmute.
Read more >
Missing required parameter: scope when using ...
I'm successfully generating $authorizationUrl using the code below. However on using that URL I'm receiving the error: Missing required parameter: scope.
Read more >
CMMCI9022E Missing required parameter - IBM
Action. Run the command again, specifying all required parameters. Enter "help command_name" for a list of valid parameters and values.
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