Hi Team,
Good morning!
I am ruby on rails back end developer
I need to assistance for one query
need to create the users for my zoom application
I am using paid account but getting error i am unable to create users
My Zoom account: communication@inventohub.com
My zoom app name - Savio
please help me resolve.
Error is:
{
“error”: “Invalid access token.”
}
Thanks,
Anjibabu Ch.
Hi Any one please help me on above issue
Hi,
Could you check that you have the required scopes (user:write:admin) enabled?
Hi @Fario_Consulting
I don’t have that scopes like user:read:admin and user:write:admin
can you please enable that my app?
or how i can get that?
I am using paid account only
Please help me on this issue
Currently I having this scopes only
user:write:user:admin
user:read:user:admin
Hi anyone please help me on this issue
Hi Team,
I am getting error while creating the meetings and users time
In the zoom user is not saving
Getting error is
{
“error”: “{:base=>"User does not exist: bsKptObIS6q0oe7FM_8s4g."}”
}
Please help me on the issue
Thanks,
Anjibabu Ch
Hi Team,
I am getting error while creating the meetings and users time
In the zoom user is not saving
Created the below user:
Code : zoom_client = Zoom.new
auth = zoom_client.auth
user = zoom_client.user_create(
action: 'create', # This can be 'create' or 'autoCreate' depending on your needs
user_info: {
email: 'newuser@example.com',
type: 1, # 1 is basic, 2 is pro, 3 is corp
first_name: 'John',
last_name: 'Doe'
}
)
response :{“id”=>“eF803Mc6R6SqlDikCy3Cxw”, “first_name”=>“John”, “last_name”=>“Doe”, “email”=>“newuser@example.com ”, “type”=>1, “zoom_workplace”=>1, “on_prem”=>false}
creating meeting for above user eF803Mc6R6SqlDikCy3Cxw but it’s throughing error like below
Code : meeting = zoom_client.meeting_create(
user_id: “eF803Mc6R6SqlDikCy3Cxw”,
topic: ‘New Meeting’,
type: 1, # Scheduled meeting
start_time: ‘2024-09-20T14:00:00Z’,
duration: 30,
timezone: ‘UTC’,
password: ‘12345’,
agenda: ‘Discuss project updates’
)
Traceback (most recent call last):
1: from (irb):24
Zoom::Error ({:base=>“User does not exist: eF803Mc6R6SqlDikCy3Cxw.”})
Please help me on this issue
Thanks,
Anjibabu Ch
Hi @communication2 , this means your access token was not created correctly or is expired. Can you please share how you generated the token? Link the exact documentation you’re following.
Invento:
I am getting error while creating the meetings and users time
In the zoom user is not saving
Created the below user:
Code : zoom_client = Zoom.new
auth = zoom_client.auth
user = zoom_client.user_create(
action: 'create', # This can be 'create' or 'autoCreate' depending on your needs
user_info: {
email: 'newuser@example.com',
type: 1, # 1 is basic, 2 is pro, 3 is corp
first_name: 'John',
last_name: 'Doe'
}
)
response :{“id”=>“eF803Mc6R6SqlDikCy3Cxw”, “first_name”=>“John”, “last_name”=>“Doe”, “email”=>“newuser@example.com ”, “type”=>1, “zoom_workplace”=>1, “on_prem”=>false}
creating meeting for above user eF803Mc6R6SqlDikCy3Cxw but it’s throughing error like below
Code : meeting = zoom_client.meeting_create(
user_id: “eF803Mc6R6SqlDikCy3Cxw”,
topic: ‘New Meeting’,
type: 1, # Scheduled meeting
start_time: ‘2024-09-20T14:00:00Z’,
duration: 30,
timezone: ‘UTC’,
password: ‘12345’,
agenda: ‘Discuss project updates’
)
Traceback (most recent call last):
1: from (irb):24
Zoom::Error ({:base=>“User does not exist: eF803Mc6R6SqlDikCy3Cxw.”})
Hi @communication2 please confirm, you were able to generate a valid access token now and create the user?
When you create a meeting for a user, you can use their email or user id. Are you still seeing this issue when using the user’s email?
Additionally, do you have the permission to create meetings for other users ?
Hi @gianni.zoom
See I am able to create the users with same access token so unable to create meeting with created user_id with same access token so with access token i think no issue because users are creating but we unable to see the users list it showing only admin user and we unable to create the meeting based on user id it showing user doesn’t exist.
Please check:
irb(main):001:0> zoom_client = Zoom.new
auth = zoom_client.auth
user = zoom_client.user_create(
action: 'create', # This can be 'create' or 'autoCreate' depending on your needs
user_info: {
email: 'newuser@example.com',
type: 1, # 1 is basic, 2 is pro, 3 is corp
first_name: 'John',
last_name: 'Doe'
}
)
=> #<Zoom::Client::ServerToServerOAuth:0x000055e19bc70650 @account_id=“J0mLDau5RV2LtD-CkTf7PQ”, @client_id=“H1T914ftTgm5LQOldFG0Q”, @client_secret=“rFpfy7IzzOF40Wav1cd6mRHkfFwqFbj4”, @timeout=15>
=> {“access_token”=>“eyJzdiI6IjAwMDAwMSIsImFsZyI6IkhTNTEyIiwidiI6IjIuMCIsImtpZCI6ImViYTRhMmY4LTVmMDktNDYzNC1hZjU0LTMxZDEzYmNkNWI1YiJ9.eyJhdWQiOiJodHRwczovL29hdXRoLnpvb20udXMiLCJ1aWQiOiJxN1Q5aXoyQVN2dVJHenZBN1RfRGJBIiwidmVyIjoxMCwiYXVpZCI6ImRlZjIxMGFhYjY5NjBhZDkyM2UwMWUxZGVkMWIxZDAyZjRlMmMyMDRkZGVmMjE5NTNkNDJhMWViZjkwOWE0ZGEiLCJuYmYiOjE3MjY4NDQ0MTUsImNvZGUiOiJXSVp2ekZ6aFNCR1NPUnZuYTN5MHdRUFEwcHJoaG01Q3kiLCJpc3MiOiJ6bTpjaWQ6SDFUOTE0ZnRUZ201TFFPbGRGRzBRIiwiZ25vIjowLCJleHAiOjE3MjY4NDgwMTUsInR5cGUiOjMsImlhdCI6MTcyNjg0NDQxNSwiYWlkIjoiSjBtTERhdTVSVjJMdEQtQ2tUZjdQUSJ9.TQRmot26yqVstCn3ku8ov-kUdozmF-5De2sIcLl5m03Odxo7sIHNCWsenADhvTMFRd83OK8QCWzUhjcOYFO51w”, “token_type”=>“bearer”, “expires_in”=>3600, “scope”=>“user:read:list_users:admin user:write:user:admin user:read:user:admin user:update:user:admin user:delete:user:admin user:update:status:admin user:update:password:admin user:read:list_assistants:admin user:write:assistant:admin user:delete:assistant:admin user:write:profile_picture:admin user:read:token:admin user:read:zak:admin user:delete:token:admin user:read:list_permissions:admin user:read:list_schedulers:admin user:delete:scheduler:admin user:update:email:admin user:read:email:admin user:read:pm_room:admin user:update:presence_status:admin user:read:settings:admin user:update:settings:admin user:write:virtual_background_files:admin user:delete:virtual_background_files:admin user:read:summary:admin user:write:feature:admin user:read:list_collaboration_devices:admin user:read:collaboration_device:admin user:update:user_account:admin user:read:presence_status:admin user:read:personal_note:admin user:delete:profile_picture:admin user:read:clocked_out_user:admin user:read:clocked_in_user:admin user:read:list_users:master user:write:user:master user:read:user:master user:update:user:master user:delete:user:master user:update:status:master user:update:password:master user:read:list_assistants:master user:write:assistant:master user:delete:assistant:master user:write:profile_picture:master user:read:token:master user:delete:token:master user:read:list_permissions:master user:read:list_schedulers:master user:delete:scheduler:master user:update:email:master user:update:presence_status:master user:read:settings:master user:update:settings:master user:write:virtual_background_files:master user:delete:virtual_background_files:master user:read:summary:master user:write:feature:master user:update:user_account:master user:read:presence_status:master user:read:personal_note:master user:delete:profile_picture:master user:read:clocked_out_user:master user:read:clocked_in_user:master meeting:read:list_meetings:admin meeting:write:meeting:admin meeting:read:meeting:admin meeting:update:meeting:admin meeting:delete:meeting:admin meeting:read:list_registrants:admin meeting:write:registrant:admin meeting:write:batch_registrants:admin meeting:read:registrant:admin meeting:update:registrant_status:admin meeting:delete:registrant:admin meeting:read:list_registration_questions:admin meeting:update:registration_question:admin meeting:read:livestream:admin meeting:update:livestream:admin meeting:update:livestream_status:admin meeting:read:list_polls:admin meeting:write:poll:admin meeting:write:batch_polls:admin meeting:read:poll:admin meeting:update:poll:admin meeting:delete:poll:admin meeting:read:invitation:admin meeting:write:invite_links:admin meeting:read:list_templates:admin meeting:update:status:admin meeting:update:in_meeting_controls:admin meeting:read:summary:admin meeting:read:past_meeting:admin meeting:read:list_past_instances:admin meeting:read:list_past_participants:admin meeting:read:list_poll_results:admin meeting:read:survey:admin meeting:update:survey:admin meeting:delete:survey:admin meeting:read:participant:admin meeting:read:participant_feedback:admin meeting:read:participant_callout:admin meeting:read:alert:admin meeting:read:participant_sharing:admin meeting:read:device:admin meeting:read:risk_alert:admin meeting:read:chat_message:admin meeting:read:local_archiving_token:admin meeting:read:local_recording_token:admin meeting:read:live_streaming_token:admin meeting:read:list_summaries:admin meeting:read:list_upcoming_meetings:admin meeting:read:past_qa:admin meeting:read:list_meetings:master meeting:write:meeting:master meeting:read:meeting:master meeting:update:meeting:master meeting:delete:meeting:master meeting:read:list_registrants:master meeting:write:registrant:master meeting:write:batch_registrants:master meeting:read:registrant:master meeting:update:registrant_status:master meeting:delete:registrant:master meeting:read:list_registration_questions:master meeting:update:registration_question:master meeting:read:livestream:master meeting:update:livestream:master meeting:update:livestream_status:master meeting:read:list_polls:master meeting:write:poll:master meeting:write:batch_polls:master meeting:read:poll:master meeting:update:poll:master meeting:delete:poll:master meeting:read:invitation:master meeting:write:invite_links:master meeting:read:list_templates:master meeting:update:status:master meeting:update:in_meeting_controls:master meeting:read:summary:master meeting:read:list_past_instances:master meeting:read:survey:master meeting:update:survey:master meeting:delete:survey:master meeting:read:participant:master meeting:read:participant_feedback:master meeting:read:participant_callout:master meeting:read:alert:master meeting:read:participant_sharing:master meeting:read:device:master meeting:read:risk_alert:master meeting:read:chat_message:master meeting:read:list_summaries:master account:read:sub_account:admin account:delete:sub_account:admin account:update:options:admin account:read:settings:admin account:update:settings:admin account:write:virtual_background_files:admin account:delete:virtual_background_files:admin account:read:lock_settings:admin account:update:lock_settings:admin account:read:managed_domains:admin account:read:trusted_domains:admin account:update:owner:admin account:read:registration_settings:admin account:update:registration_settings:admin account:read:account_setting:admin account:read:vanity_url:admin account:read:entitlement:admin account:read:list_sub_accounts:master account:write:sub_account:master account:read:sub_account:master account:delete:sub_account:master account:update:options:master account:read:settings:master account:update:settings:master account:write:virtual_background_files:master account:delete:virtual_background_files:master account:read:lock_settings:master account:update:lock_settings:master account:read:managed_domains:master account:read:trusted_domains:master account:update:owner:master account:read:registration_settings:master account:update:registration_settings:master account:read:account_setting:master account:read:vanity_url:master account:read:entitlement:master dashboard:read:meeting:admin dashboard:read:meeting_participant_qos:admin dashboard:read:meeting_quality_score:admin dashboard:read:meeting_sharing:admin dashboard:read:post_meeting_feedback:admin dashboard:read:meeting_feedback:admin dashboard:read:meeting_survey:admin dashboard:read:list_meeting_participants:admin dashboard:read:list_meeting_participants_qos:admin dashboard:read:list_meetings:admin dashboard:read:list_meetings_feedback:admin dashboard:read:meeting:master dashboard:read:meeting_participant_qos:master dashboard:read:meeting_quality_score:master dashboard:read:meeting_sharing:master dashboard:read:meeting_feedback:master dashboard:read:meeting_survey:master dashboard:read:list_meeting_participants:master dashboard:read:list_meeting_participants_qos:master dashboard:read:list_meetings:master dashboard:read:list_meetings_feedback:master billing:read:user_entitlement:admin zra:read:indicator:admin information_barrier:write:policy:admin information_barrier:read:list_policies:admin information_barrier:delete:policy:admin information_barrier:update:policy:admin information_barrier:read:policy:admin information_barrier:write:policy:master information_barrier:read:list_policies:master information_barrier:delete:policy:master information_barrier:update:policy:master information_barrier:read:policy:master”, “api_url”=>“https://api.zoom.us ”}
=> nil
=> {“id”=>“eF803Mc6R6SqlDikCy3Cxw”, “first_name”=>“John”, “last_name”=>“Doe”, “email”=>“newuser@example.com ”, “type”=>1, “zoom_workplace”=>1, “on_prem”=>false}
irb(main):013:0> meeting = zoom_client.meeting_create(
user_id: “eF803Mc6R6SqlDikCy3Cxw”,
topic: ‘New Meeting’,
type: 1, # Scheduled meeting
start_time: ‘2024-09-20T14:00:00Z’,
duration: 30,
timezone: ‘UTC’,
password: ‘12345’,
agenda: ‘Discuss project updates’
)
Traceback (most recent call last):
1: from (irb):13
Zoom::Error ({:base=>“User does not exist: eF803Mc6R6SqlDikCy3Cxw.”})
I am using below gem for zoom
gem ‘zoom_rb’, git: ‘GitHub - kyleboe/zoom_rb: Ruby REST API Wrapper for zoom.us API ’, branch: ‘standard’
Thank you,
For your response
Please help me
Hi @chunsiong.zoom
Please help me on above issue
Hi @communication2 , if you need immediate SLA-level help please reach out to Support, otherwise please be patient with our responses on the forum. You can see the differences between Developer Support and Developer Forum here: Zoom Developer Docs