Eror on Creating a meeting


#1

When i tried to create a meeting using api i got error. the url was

https://api.zoom.us/v2/users/EU5vM2abRXile88H-SipkQ/meetings?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPNlNTT3QzZVJlU0dVTktnaFVYdkpRIiwiaWF0IjoxNTQ3NTgyNDAyLCJleHAiOjE1NDc1ODMwMDJ9.TK9G_9kAlLqRL8mMKlhdySUXcj0fCc0xkkh1GWgz4UE" -H “accept: application/json” -H “Content-Type: application/json” -d “{ “schedule_for”: “test”, “topic”: “test”, “type”: 2, “start_time”: “2019-01-15T20:03:24.377Z”, “duration”: 0, “timezone”: “America/New_York”, “password”: null, “agenda”: “test”, “tracking_fields”: [ { “field”: “test”, “value”: “test” } ], “settings”: { “host_video”: true, “participant_video”: true, “cn_meeting”: false, “in_meeting”: false, “join_before_host”: false, “mute_upon_entry”: false, “watermark”: false, “use_pmi”: false, “approval_type”: 2, “registration_type”: 1, “audio”: “both”, “auto_recording”: “none”, “enforce_login”: true, “enforce_login_domains”: null, “alternative_hosts”: null, “close_registration”: false, “waiting_room”: false }}”


#2

Hi @yamdie,

What was the error and status code that you’ve received?


#3

<error>

<code>124</code>

<message>

The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256

</message>

</error>


#4

my url from C# application is

https://api.zoom.us/v2/users/EU5vM2abRXile88H-SipkQ/meetings?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPNlNTT3QzZVJlU0dVTktnaFVYdkpRIiwiZXhwIjoxNjA3MDE5NjI5fQ.KkR4jS7LsHm9auo2pVlEOhzthlcPVoWnAydyta0sYnI -H “accept: application/json” - H “Content-Type: application/json” - d "{ “topic”: “Test Meeting”, “type”: 2, “start_time”: “2019-01-17T23:59:59.707Z”, “duration”: 60, “agenda”: “Test Agenda”}

the error is

Invalid access token.
error code 124


#5

Hi @yamdie,

How are you generating the access tokens? Were you able to succesfuly make a call with POSTMan?
Here is a link that shows you how to generate the JWT - https://marketplace.zoom.us/docs/guides/guides/using-postman-to-test-zoom-apis#authentication