Roy.D
(Roy)
November 17, 2020, 9:31pm
1
Description
Cloned the git project and updated the apikey, signature and meeting#.
But getting below error on click " Join Meeting"
Error
Cannot POST
Signature →
Which version?
zoomus/websdk → 1.8.3
Device (please complete the following information):
Device: MacBook Pro
OS: 10.15.7
Version: [e.g. 22]
Browser:[ Chrome]
tommy
(Tommy Gaessler)
November 18, 2020, 7:17pm
2
Hey @Roy.D ,
Did you set your Signature Endpoint URL?
ZoomMtg.preLoadWasm(); ZoomMtg.prepareJssdk(); @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent implements OnInit { // setup your signature endpoint here: https://github.com/zoom/websdk-sample-signature-node.js signatureEndpoint = '' apiKey = '' meetingNumber = 123456789 role = 0 leaveUrl = 'http://localhost:4200' userName = 'Angular' userEmail = '' passWord = '' constructor(public httpClient: HttpClient, @Inject(DOCUMENT) document) {
Thanks,
Tommy
Roy.D
(Roy)
November 18, 2020, 8:24pm
3
Hello Tommy,
Thank you for replying.
Yes, I did. below is the signature.
When I checked the console, I noticed error - “Cannot POST” and signature was also logged.
I used JWT credentials.
tommy
(Tommy Gaessler)
November 19, 2020, 9:04pm
4
Hey @Roy.D ,
Can you share your code in a GitHub repo so I can test and reproduce the issue locally?
Roy.D:
This error is not coming from the Web SDK. It looks you are making a post request to the Angular local server with your signature attached?
Thanks,
Tommy
tommy
(Tommy Gaessler)
November 23, 2020, 10:12pm
6
Hey @Roy.D ,
I see the issue. You put your actual signature as the signature endpoint:
ZoomMtg.prepareJssdk(); @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent implements OnInit { // setup your signature endpoint here: https://github.com/zoom/websdk-sample-signature-node.js signatureEndpoint = 'X05ycm1aNTdRaHFNcGFkWXVRVG1jdy43NzA3ODQwNjI5LjE2MDU4ODMzODk2ODguMS5MR0tIM3BRd05PcG9oVHVmdk43ck9FZDRVYTJnVjFTSHlTRU51NDMvM3MwPQ' apiKey = '_NrrmZ57QhqMpadYuQTmcw' meetingNumber = '7707840629' role = 1 leaveUrl = 'http://localhost:4200' userName = 'daanam-uplift' userEmail = '' passWord = '' constructor(public httpClient: HttpClient, @Inject(DOCUMENT) document) {
The signature endpoint needs to be a web address pointing to the server that generates your Web SDK signature. Please see the readme and this sample app for more information.
Thanks,
Tommy
Roy.D
(Roy)
November 28, 2020, 3:40pm
7
Tommy,
Yes that was the issue. am able to run the sample now .
1 Like
tommy
(Tommy Gaessler)
December 1, 2020, 4:57pm
8
Happy to hear you got it working!
Thanks,
Tommy
system
(system)
Closed
January 1, 2021, 2:58am
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.