Unable to create events sessions via API

Below entire postman data , excluded bearer token and the

POST https://api.zoom.us/v2/zoom_events/events/1vykMaTSSdio3uxJGhYtRA/sessions: {
“Network”: {
“addresses”: {
“local”: {
“address”: “172.18.2.251”,
“family”: “IPv4”,
“port”: 54403
},
“remote”: {
“address”: “170.114.52.2”,
“family”: “IPv4”,
“port”: 443
}
},
“tls”: {
“reused”: false,
“authorized”: true,
“authorizationError”: null,
“cipher”: {
“name”: “TLS_AES_128_GCM_SHA256”,
“standardName”: “TLS_AES_128_GCM_SHA256”,
“version”: “TLSv1/SSLv3”
},
“protocol”: “TLSv1.3”,
“ephemeralKeyInfo”: {},
“peerCertificate”: {
“subject”: {
“country”: “US”,
“stateOrProvince”: “California”,
“locality”: “San Jose”,
“organization”: “Zoom Video Communications, Inc.”,
“commonName”: “.zoom.us",
“alternativeNames”: "DNS:
.zoom.us, DNS:zoom.us”
},
“issuer”: {
“country”: “US”,
“organization”: “DigiCert Inc”,
“commonName”: “DigiCert TLS RSA SHA256 2020 CA1”
},
“validFrom”: “Apr 15 00:00:00 2023 GMT”,
“validTo”: “May 1 23:59:59 2024 GMT”,
“fingerprint”: “14:9F:5D:9E:08:49:BA:0E:12:A4:8F:90:BD:0F:D6:0C:2A:6D:D1:53”,
“serialNumber”: “021c2faba6011a89efa67788c647e470”
}
}
},
“Request Headers”: {
“content-type”: “application/json”,
“accept”: “application/json”,
“authorization”: “Bearer eyJzdiI6”,
“user-agent”: “PostmanRuntime/7.29.2”,
“cache-control”: “no-cache”,
“postman-token”: “88a4cd86-b7f1-44df-9651-0df7ced16fc6”,
“host”: “api.zoom.us”,
“accept-encoding”: “gzip, deflate, br”,
“connection”: “keep-alive”,
“content-length”: “719”,
“cookie”: “TS018dd1ba=01cfbc656ff71d44a52ec3f55ab18d975cf98c029784b345347c17d3ef06133eca99b39cd41c4789222f5dde91967bef9aaf68c79b; __cf_bm=SywvtX.eT8s1QrjSuNq7rbS22PmQXKxKEI.7.RyRCtQ-1686010176-0-ARU7ti2aJNPDuhnxAMfNF8JJRkaD+SxOtzG+wxArchV9btREtmdXPoS8GmaXGq1D8NBsg4FEXToeV+EAHmFyGS4=; _zm_chtaid=732; _zm_ctaid=rLlAm6zlQS6w2RzRMswfWQ.1686010176655.22525112f497ca8497d7c9814ab83b61; _zm_mtk_guid=28531cf739f94c869baa973542c067c6; _zm_page_auth=us06_c_o5rxb33XSZevu2MuuYBYfg; _zm_ssid=us06_c_xYl9qZivShq_lFuX7MTGMg”
},
“Request Body”: “{\n "name": "Test Event API test session",\n "description": "",\n "start_time": "2023-06-18T05:00:00Z",\n "end_time": "2023-06-18T06:00:00Z",\n "timezone": "America/New_York",\n "type": 2,\n \n "featured": false,\n "visible_in_landing_page": true,\n "featured_in_lobby": false,\n "visible_in_lobby": true,\n "chat_channel": false,\n "led_by_sponsor": false,\n "track_labels": ,\n "audience_labels": ,\n "product_labels": ,\n "level": ,\n "alternative_host": ,\n "panelist": ,\n \n "is_simulive": false\n}”,
“Response Headers”: {
“date”: “Tue, 06 Jun 2023 00:10:42 GMT”,
“content-type”: “application/json”,
“content-length”: “41”,
“connection”: “keep-alive”,
“x-ratelimit-remaining”: “5997”,
“x-zm-trackingid”: “WEB_228eb72e9c20993018eda6a9f1d4c9bc”,
“x-ratelimit-limit”: “6000”,
“zm-nws-region”: “va1”,
“strict-transport-security”: “max-age=31536000; includeSubDomains”,
“cf-cache-status”: “DYNAMIC”,
“report-to”: “{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=UQ9Ns%2B7bkMHrwvnn8uLSNDlml9UoP1SI8osV%2FD9%2Bq4lbRt8rFpzY2fJ3JF8JYmbwebVbCO2qtBnb3o9iQvqSM%2FCGT9xTqJ7i2yNPPLlnFJYVVjH6QnbUoIqVuOQg"}],"group":"cf-nel","max_age":604800}”,
“nel”: “{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}”,
“server”: “cloudflare”,
“cf-ray”: “7d2c6f109a9ec337-EWR”,
“alt-svc”: “h3=":443"; ma=86400”
},
“Response Body”: “{"code":403,"message":"access_forbidden"}”
}

Hi @RB_GFMA
Thanks for reaching out to us!
Is this the first time that you run into this issue? have you been able to create sessions for events via API in the past?
Can you please make sure that your access token has the scopes required for this endpoint?
Scopes: zoom_events_sessions:write:admin``zoom_events_sessions:write

Cheers,
Elisa

Yes, I do and this forums reply doesn’t allow to upload image
and tried again, I see diff error now

POST https://api.zoom.us/v2/zoom_events/events/kmM1R-K8RJq9R4xm-mt3Xg/sessions: {
“Network”: {
“addresses”: {
“local”: {
“address”: “172.18.2.251”,
“family”: “IPv4”,
“port”: 54972
},
“remote”: {
“address”: “170.114.52.2”,
“family”: “IPv4”,
“port”: 443
}
},
“tls”: {
“reused”: false,
“authorized”: true,
“authorizationError”: null,
“cipher”: {
“name”: “TLS_AES_128_GCM_SHA256”,
“standardName”: “TLS_AES_128_GCM_SHA256”,
“version”: “TLSv1/SSLv3”
},
“protocol”: “TLSv1.3”,
“ephemeralKeyInfo”: {},
“peerCertificate”: {
“subject”: {
“country”: “US”,
“stateOrProvince”: “California”,
“locality”: “San Jose”,
“organization”: “Zoom Video Communications, Inc.”,
“commonName”: “.zoom.us",
“alternativeNames”: "DNS:
.zoom.us, DNS:zoom.us”
},
“issuer”: {
“country”: “US”,
“organization”: “DigiCert Inc”,
“commonName”: “DigiCert TLS RSA SHA256 2020 CA1”
},
“validFrom”: “Apr 15 00:00:00 2023 GMT”,
“validTo”: “May 1 23:59:59 2024 GMT”,
“fingerprint”: “14:9F:5D:9E:08:49:BA:0E:12:A4:8F:90:BD:0F:D6:0C:2A:6D:D1:53”,
“serialNumber”: “021c2faba6011a89efa67788c647e470”
}
}
},
“Request Headers”: {
“content-type”: “application/json”,
“accept”: “application/json”,
“authorization”: “Bearer eyJzdiI6IjAwMDH-2stTbEV2A2Ht1DNLg”,
“user-agent”: “PostmanRuntime/7.29.2”,
“cache-control”: “no-cache”,
“postman-token”: “191ea1f9-bafc-4d6e-9b16-6adf04628e67”,
“host”: “api.zoom.us”,
“accept-encoding”: “gzip, deflate, br”,
“connection”: “keep-alive”,
“content-length”: “4479”,
“cookie”: “TS018dd1ba=01cfbc656ff71d44a52ec3f55ab18d975cf98c029784b345347c17d3ef06133eca99b39cd41c4789222f5dde91967bef9aaf68c79b; __cf_bm=dOAM6IC3FIjX4tJUndIiZT5IXuKcMtvrbuuRdMZKIjM-1686281156-0-AceC64XO5QEeCjCWMirFZ236OXcg6ZcRR+sSIFaEr6hDvy5ilvFV6+8xYHQVR9Rjhu/b5iufQEpTeZn6FtnHHbk=; _zm_chtaid=737; _zm_ctaid=YrcqLtoVTKGXcPpgVbL2dA.1686281156250.58af4925601b93df245d4bf0570e498d; _zm_mtk_guid=28531cf739f94c869baa973542c067c6; _zm_page_auth=us06_c_X8iE5XMZTXaQZ9CSaTU3Qg; _zm_ssid=us06_c_xYl9qZivShq_lFuX7MTGMg”
},
“Request Body”: “{\n "end_time": "2022-05-31T13:00:00Z",\n "start_time": "2022-05-31T13:00:00Z",\n "type": 2,\n "timezone": "America/New_York",\n "name": "Session 1",\n "description": "Educational Session on ZoomEvents",\n "session_speakers": [\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n },\n {\n "speaker_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access_to_edit_session": true,\n "show_in_session_detail": true,\n "has_alternative_host_permission": true\n }\n ],\n "featured": true,\n "visible_in_landing_page": true,\n "featured_in_lobby": false,\n "visible_in_lobby": true,\n "is_simulive": true,\n "record_file_id": "f09340e1-cdc3-4eae-9a74-98f9777ed908",\n "chat_channel": true,\n "led_by_sponsor": false,\n "track_labels": [\n "Technical Track",\n "Technical Track"\n ],\n "audience_labels": [\n "Family",\n "Family"\n ],\n "product_labels": [\n "zoomMeeting",\n "zoomMeeting"\n ],\n "level": [\n "Level-1",\n "Level-1"\n ],\n "alternative_host": [\n "abc.cd@email.com",\n "abc.cd@email.com"\n ],\n "panelist": [\n "abc.cd@email.com",\n "abc.cd@email.com"\n ]\n}”,
“Response Headers”: {
“date”: “Fri, 09 Jun 2023 03:31:12 GMT”,
“content-type”: “application/json”,
“content-length”: “43”,
“connection”: “keep-alive”,
“x-ratelimit-remaining”: “5997”,
“x-zm-trackingid”: “WEB_91626689dae5c4281951524aefba8757”,
“x-ratelimit-limit”: “6000”,
“zm-nws-region”: “va1”,
“strict-transport-security”: “max-age=31536000; includeSubDomains”,
“cf-cache-status”: “DYNAMIC”,
“report-to”: “{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=2IyIWwIskxYALC6q%2BP6GoMgo8u7MUqL5Z%2BsuHgDBzW57cozP4OeCfiV4uYdJK42TchMpTu6ZDCNeeU3amqZqomtoKC3ktaEo%2BpEMJ%2FeyCeuWk5ZyCTRtL1%2FC2mq4"}],"group":"cf-nel","max_age":604800}”,
“nel”: “{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}”,
“server”: “cloudflare”,
“cf-ray”: “7d464cde2ff5c466-EWR”,
“alt-svc”: “h3=":443"; ma=86400”
},
“Response Body”: “{"code":404,"message":"Video is not found"}”
}