michaelbourne / gravity-forms-zoom-webinar-registration

Register attendees in your Zoom Webinar through a Gravity Form
GNU General Public License v3.0
25 stars 12 forks source link

Plugin has stopped working #6

Open worthiejones opened 3 years ago

worthiejones commented 3 years ago

This plugin is no longer working correctly. I would be glad to send you the error information, if you are still supporting it.

Thanks

michaelbourne commented 3 years ago

Please do!

worthiejones commented 3 years ago

Michael,

I setup a test Zoom meeting and created a simple form with just name and email for testing.

I’m sure it is probably some update that is causing the issue. Everything had been working great for quite a while. I can’t tell you when it stopped working.

Here is the error that occurs…

Zoom Webinar Feed 20: Zoom API error when attempting registration: Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Thu, 11 Mar 2021 21:16:33 GMT [content-type] => application/json;charset=UTF-8 [content-length] => 67 [x-zm-trackingid] => WEB_f35815d7a0e7a3dfb0542e35638e7f6a [x-content-type-options] => nosniff [cache-control] => no-cache, no-store, must-revalidate, no-transform [pragma] => no-cache [expires] => Thu, 01 Jan 1970 00:00:00 GMT [set-cookie] => Array ( [0] => zm_aid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [1] => zm_haid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [2] => web_zak=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [3] => cred=FB0F4066C3BFC19A150644F17862174A; Path=/; Secure; HttpOnly [4] => _zm_ctaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [5] => _zm_chtaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [6] => _zm_ctaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [7] => _zm_chtaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly )

[vary] => Array ( [0] => Origin [1] => Access-Control-Request-Method [2] => Access-Control-Request-Headers )

[x-ratelimit-category] => Light )

)

[body] => {"code":3001,"message":"Webinar 94549576291 not found or expired."} [response] => Array ( [code] => 404 [message] => Not Found )

[cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => zm_aid [value] => "" [expires] => 10 [path] => / [domain] => zoom.us [host_only] => )

[1] => WP_Http_Cookie Object ( [name] => zm_haid [value] => "" [expires] => 10 [path] => / [domain] => zoom.us [host_only] => )

[2] => WP_Http_Cookie Object ( [name] => web_zak [value] => "" [expires] => 10 [path] => / [domain] => zoom.us [host_only] => )

[3] => WP_Http_Cookie Object ( [name] => cred [value] => FB0F4066C3BFC19A150644F17862174A [expires] => [path] => / [domain] => api.zoom.us [host_only] => 1 )

[4] => WP_Http_Cookie Object ( [name] => _zm_ctaid [value] => "" [expires] => 10 [path] => / [domain] => zoom.us [host_only] => )

[5] => WP_Http_Cookie Object ( [name] => _zm_chtaid [value] => "" [expires] => 10 [path] => / [domain] => zoom.us [host_only] => )

)

[filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"code":3001,"message":"Webinar 94549576291 not found or expired."} [raw] => HTTP/1.1 404 Date: Thu, 11 Mar 2021 21:16:33 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 67 Connection: close x-zm-trackingid: WEB_f35815d7a0e7a3dfb0542e35638e7f6a X-Content-Type-Options: nosniff Cache-Control: no-cache, no-store, must-revalidate, no-transform Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: zm_aid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly Set-Cookie: zm_haid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly Set-Cookie: web_zak=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly Set-Cookie: cred=FB0F4066C3BFC19A150644F17862174A; Path=/; Secure; HttpOnly Vary: Origin Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers X-RateLimit-Category: Light Set-Cookie: _zm_ctaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly Set-Cookie: _zm_chtaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly Set-Cookie: _zm_ctaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly Set-Cookie: _zm_chtaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly

{"code":3001,"message":"Webinar 94549576291 not found or expired."} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Thu, 11 Mar 2021 21:16:33 GMT )

[content-type] => Array ( [0] => application/json;charset=UTF-8 )

[content-length] => Array ( [0] => 67 )

[x-zm-trackingid] => Array ( [0] => WEB_f35815d7a0e7a3dfb0542e35638e7f6a )

[x-content-type-options] => Array ( [0] => nosniff )

[cache-control] => Array ( [0] => no-cache, no-store, must-revalidate, no-transform )

[pragma] => Array ( [0] => no-cache )

[expires] => Array ( [0] => Thu, 01 Jan 1970 00:00:00 GMT )

[set-cookie] => Array ( [0] => zm_aid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [1] => zm_haid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [2] => web_zak=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [3] => cred=FB0F4066C3BFC19A150644F17862174A; Path=/; Secure; HttpOnly [4] => _zm_ctaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [5] => _zm_chtaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [6] => _zm_ctaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly [7] => _zm_chtaid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly )

[vary] => Array ( [0] => Origin [1] => Access-Control-Request-Method [2] => Access-Control-Request-Headers )

[x-ratelimit-category] => Array ( [0] => Light )

)

)

[status_code] => 404 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://api.zoom.us/v2/webinars/94549576291/registrants [history] => Array ( )

[cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( [zm_aid] => Requests_Cookie Object ( [name] => zm_aid [value] => "" [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [domain] => zoom.us [expires] => 10 [path] => / [secure] => 1 [httponly] => 1 )

)

[flags] => Array ( [creation] => 1615497393 [last-access] => 1615497393 [persistent] => [host-only] => )

[reference_time] => 1615497393 )

[zm_haid] => Requests_Cookie Object ( [name] => zm_haid [value] => "" [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [domain] => zoom.us [expires] => 10 [path] => / [secure] => 1 [httponly] => 1 )

)

[flags] => Array ( [creation] => 1615497393 [last-access] => 1615497393 [persistent] => [host-only] => )

[reference_time] => 1615497393 )

[web_zak] => Requests_Cookie Object ( [name] => web_zak [value] => "" [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [domain] => zoom.us [expires] => 10 [path] => / [secure] => 1 [httponly] => 1 )

)

[flags] => Array ( [creation] => 1615497393 [last-access] => 1615497393 [persistent] => [host-only] => )

[reference_time] => 1615497393 )

[cred] => Requests_Cookie Object ( [name] => cred [value] => FB0F4066C3BFC19A150644F17862174A [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [path] => / [secure] => 1 [httponly] => 1 [domain] => api.zoom.us )

)

[flags] => Array ( [creation] => 1615497393 [last-access] => 1615497393 [persistent] => [host-only] => 1 )

[reference_time] => 1615497393 )

[_zm_ctaid] => Requests_Cookie Object ( [name] => _zm_ctaid [value] => "" [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [domain] => zoom.us [expires] => 10 [path] => / [secure] => 1 [httponly] => 1 )

)

[flags] => Array ( [creation] => 1615497393 [last-access] => 1615497393 [persistent] => [host-only] => )

[reference_time] => 1615497393 )

[_zm_chtaid] => Requests_Cookie Object ( [name] => _zm_chtaid [value] => "" [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [domain] => zoom.us [expires] => 10 [path] => / [secure] => 1 [httponly] => 1 )

)

[flags] => Array ( [creation] => 1615497393 [last-access] => 1615497393 [persistent] => [host-only] => )

[reference_time] => 1615497393 )

)

)

)

[filename:protected] => [data] => [headers] => [status] => )

)

TJ tj jones | director of technology nebraska health care association nebraska nursing facility association nebraska assisted living association nebraska health care learning center nebraska health care foundation

1200 libra drive, suite 100 | lincoln, ne 68512-9332 p: (402) 435-3551 ext. 403 | f: (402) 475-6289 e: @.**@.> | w: nehca.orghttp://www.nehca.org/ w: nebraskanurseaide.orghttp://nebraskanurseaide.org/ | w: medicationaide.orghttp://www.medicationaide.org/


Maximizer · Ideation · Learner · Achiever · Futuristic

@.***D71689.C5AE3CE0]https://www.nehca.org/nhca-app/

From: Michael Bourne @.> Sent: Thursday, March 11, 2021 3:06 PM To: michaelbourne/gravity-forms-zoom-webinar-registration @.> Cc: TJ Jones @.>; Author @.> Subject: Re: [michaelbourne/gravity-forms-zoom-webinar-registration] Plugin has stopped working (#6)

Please do!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/michaelbourne/gravity-forms-zoom-webinar-registration/issues/6#issuecomment-797048449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKWUC5SGANGALWYZSQEMKBTTDEPCNANCNFSM4ZBAA6SA. This message originated from an External user

michaelbourne commented 3 years ago

The error says Webinar 94549576291 not found or expired. are you sure that was the right code?

worthiejones commented 3 years ago

Looks correct:

@.***D7168B.41481FF0]

Could it be some security setting in the Meeting setup?

TJ tj jones | director of technology nebraska health care association nebraska nursing facility association nebraska assisted living association nebraska health care learning center nebraska health care foundation

1200 libra drive, suite 100 | lincoln, ne 68512-9332 p: (402) 435-3551 ext. 403 | f: (402) 475-6289 e: @.**@.> | w: nehca.orghttp://www.nehca.org/ w: nebraskanurseaide.orghttp://nebraskanurseaide.org/ | w: medicationaide.orghttp://www.medicationaide.org/


Maximizer · Ideation · Learner · Achiever · Futuristic

@.***D7168B.41481FF0]https://www.nehca.org/nhca-app/

From: Michael Bourne @.> Sent: Thursday, March 11, 2021 3:26 PM To: michaelbourne/gravity-forms-zoom-webinar-registration @.> Cc: TJ Jones @.>; Author @.> Subject: Re: [michaelbourne/gravity-forms-zoom-webinar-registration] Plugin has stopped working (#6)

The error says Webinar 94549576291 not found or expired. are you sure that was the right code?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/michaelbourne/gravity-forms-zoom-webinar-registration/issues/6#issuecomment-797059907, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKWUC5VYP3UVJFBSILPRXYLTDEROPANCNFSM4ZBAA6SA. This message originated from an External user

oregondean commented 3 years ago

FWIW, I am a new user and it is working for me.

apos37 commented 3 years ago

I have a developer account that I set up the API on, and another account for testing registration from a different account. When I set this up with your directions, it works fine for me. HOWEVER, when I try to use a webinar code from a client's account, I keep getting the same error as shown above. I compared the two meeting settings side by side and everything is exactly the same. Is there something that might be causing this?

oregondean commented 3 years ago

I have a developer account that I set up the API on, and another account for testing registration from a different account. When I set this up with your directions, it works fine for me. HOWEVER, when I try to use a webinar code from a client's account, I keep getting the same error as shown above. I compared the two meeting settings side by side and everything is exactly the same. Is there something that might be causing this?

Are you using the client account login info when you try to access their meeting info?

apos37 commented 3 years ago

What do you mean? I had the client log in to their account while sharing their screen and I logged into mine to verify the meetings were set up the same. As far as set up goes, I'm using the same API key and API secret from my developer account. I thought maybe they would need a developer account initially, but I tested just entering a webinar code from a different account we have and it worked flawlessly.

oregondean commented 3 years ago

What do you mean? I had the client log in to their account while sharing their screen and I logged into mine to verify the meetings were set up the same. As far as set up goes, I'm using the same API key and API secret from my developer account. I thought maybe they would need a developer account initially, but I tested just entering a webinar code from a different account we have and it worked flawlessly.

You cannot access anyone else's account unless you use their login info to generate a new JWT unique their account. Your developer account API key & secret won't work on their account.

apos37 commented 3 years ago

But why would it work on my other account that is separate from my developer account?

oregondean commented 3 years ago

Do you use the same ID and passcode on the separate account as your dev account? Or is your other account a free account? I don't think free accounts allow API access.

apos37 commented 3 years ago

Different ID and passcodes. The other account is a Pro account. I will reach out to the clients and see if they are using free accounts. I'll see if I can figure it out. Thanks for the help!

apos37 commented 3 years ago

Ah, I think I figured it out why it was working. Our zoom admin didn't tell me that the our other account is actually just a user from our developer account, so they are linked.