vonage-node-code-snippets icon indicating copy to clipboard operation
vonage-node-code-snippets copied to clipboard

NodeJS code examples for using Vonage

Results 24 vonage-node-code-snippets issues
Sort by recently updated
recently updated
newest added

## When I am running code https://github.com/Vonage/vonage-node-code-snippets/blob/master/voice/make-call.js, I found following error Error: secretOrPrivateKey must be an asymmetric key when using RS256 at module.exports (/root/vonage-node-code-snippets/node_modules/jsonwebtoken/sign.js:130:22) at tokenGenerate (/root/vonage-node-code-snippets/node_modules/@vonage/jwt/dist/tokenGenerate.js:97:12) at Auth.createBearerHeader (/root/vonage-node-code-snippets/node_modules/@vonage/auth/dist/auth.js:140:54)...

## Expected Behavior The Rooms SDK to request and return proper response. ## Current Behavior It throws unauthorized error. ## Possible Solution Allow the user to generate their own JWT...

Can you please provide an example for the media upload https://developer.vonage.com/en/api/whatsapp-template-management#MediaUpload Please correct me where it is going wrong ## Expected Behavior It should give a successful response ## Current...

## Description ## Motivation and Context ## Testing Details ## Example Output(if appropriate) ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [...

Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) and [@vonage/jwt](https://github.com/Vonage/vonage-node-sdk). These dependencies needed to be updated together. Updates `jsonwebtoken` from 8.5.1 to 9.0.0 Changelog Sourced from jsonwebtoken's changelog. 9.0.0 - 2022-12-21 Breaking changes: See Migration from...

dependencies

## push.yml - Ensure top-level permissions are not set to write-all Violation detected in /.github/workflows/push.yml:[0-1] :page_with_curl: File Type: github_actions :no_entry: Details - Ensure top-level permissions are not set to write-all

Mend: IaC violation

Is this possible join participants from an ongoing call? Let's say, I receive an inbound call, while in the call, I need to call to someone else to join that...

Vulnerable Library - ejs-3.1.9.tgz Library home page: https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz Path to dependency file: /package.json Path to vulnerable library: /node_modules/ejs/package.json ## Vulnerabilities | CVE | Severity | CVSS | Exploit Maturity |...

Mend: dependency security vulnerability

fixed applicationId -> id in updateApplication fields ## Description https://github.com/Vonage/vonage-node-code-snippets/issues/153 ## Motivation and Context script was not working because applicationId is not a valid field (or at least not anymore)....

the updateApplication method does not read the applicationId field, leading to undefined webhook when making the api call ## Expected Behavior return a merged application ## Current Behavior returns error...