When sending zoom meeting deletion request getting below error ({"code":401,"message":"Can not load email."})

The URL im Using
https://api.zoom.us/v2/meetings/{meetingId}?schedule_for_reminder=true&cancel_meeting_reminder=true

This is a delete request i want to send notification to participant via an email but getting the below error. usage is via API.

{“code”:401,“message”:“Can not load email.”}

can you tell me the root cause to this anything i want to do when creating the Meeting?

Hi @malinda.p ,

Can you please show me the configurations you pass through for POST Create a Meeting and the GET Meeting responses (with sensitive information blurred) so I can better deduce why you may be getting this error?

Hi @gianni.zoom

Please find the create meeting POST request body.

{
   "topic":"My 2222",
   "type":2,
   "password":"xxxxxxxxx",
   "start_time":"2023-04-19T03:40:00Z",
   "end_time": null,
   "timezone":null,
   "recurrence":null,
   "duration":60,
   "settings":{
      "approval_type":0,
      "registrants_email_notification":true,
      "meeting_authentication":true,
      "use_pmi":false,
      "meeting_invitees":["example@gmail.com"]
   }
}

Hi @gianni.zoom

Following is a response of a GET meeting response.

{
    "uuid": "uuid",
    "id": 123,
    "host_id": "hostid",
    "host_email": "test@gmail.com",
    "assistant_id": "",
    "topic": "sssssssss",
    "type": 2,
    "status": "waiting",
    "start_time": "2023-04-19T00:26:00Z",
    "duration": 60,
    "timezone": "America/New_York",
    "agenda": "",
    "created_at": "2023-04-18T18:57:09Z",
    "start_url": "https://us06web.zoom.us/1233333333",
    "join_url": "https://us06web.zoom.us/12333333331111",
    "registration_url": "https://us06web.zoom.us/12333333333333333333333333333",
    "password": "test",
    "h323_password": "123",
    "pstn_password": "123",
    "encrypted_password": "123",
    "settings": {
        "host_video": false,
        "participant_video": false,
        "cn_meeting": false,
        "in_meeting": false,
        "join_before_host": false,
        "jbh_time": 0,
        "mute_upon_entry": false,
        "watermark": false,
        "use_pmi": false,
        "approval_type": 0,
        "audio": "both",
        "auto_recording": "none",
        "enforce_login": true,
        "enforce_login_domains": "",
        "alternative_hosts": "",
        "alternative_host_update_polls": false,
        "close_registration": false,
        "show_share_button": true,
        "allow_multiple_devices": true,
        "registrants_confirmation_email": true,
        "waiting_room": false,
        "request_permission_to_unmute_participants": false,
        "global_dial_in_countries": [
            "US"
        ],
        "global_dial_in_numbers": [
            {
                "country_name": "US",
                "number": "+1 309 205 3325",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Chicago",
                "number": "+1 312 626 6799",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Houston",
                "number": "+1 346 248 7799",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 360 209 5623",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 386 347 5053",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 507 473 4847",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 564 217 2000",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "New York",
                "number": "+1 646 558 8656",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 646 931 3860",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 669 444 9171",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 689 278 1000",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 719 359 4580",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Denver",
                "number": "+1 720 707 2699",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 253 205 0468",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Tacoma",
                "number": "+1 253 215 8782",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Washington DC",
                "number": "+1 301 715 8592",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 305 224 1968",
                "type": "toll",
                "country": "US"
            }
        ],
        "registrants_email_notification": true,
        "meeting_authentication": true,
        "authentication_option": "signIn",
        "authentication_name": "Sign in to Zoom",
        "authentication_domains": "",
        "encryption_type": "enhanced_encryption",
        "approved_or_denied_countries_or_regions": {
            "enable": false
        },
        "breakout_room": {
            "enable": false
        },
        "alternative_hosts_email_notification": true,
        "show_join_info": true,
        "device_testing": false,
        "focus_mode": false,
        "enable_dedicated_group_chat": false,
        "private_meeting": false,
        "email_notification": true,
        "host_save_video_order": false
    },
    "pre_schedule": false
}

@malinda.p

This should be an array of objects, even for just one invitee, which seems to explain the error. Please make the adjustment in meeting creation and try again to delete. Talk soon!

Hii @gianni.zoom
Actually I have been using it all along “meeting_invitees”:[{“email":"malinda.ashan@gmail.com”}].

(Actually this type(“meeting_invitees”:[“example@gmail.com”]) of JSON object wouldn’t accept by the create meeting API)

Moving forward I have noticed two things.

  1. After creation of meeting I use registrant API to send email programmatically.

When it goes with that flow delete API response is {“code”:401,“message”:“Can not load email.”}

2). I manually executed create meeting API and skipped registrants API. And executed Delete meeting API. Then the API response with 204. No error was given . But most importantly email is not sent out to participants

Here are the manually executed Create meeting request.

request

{
   "topic":"My 4534534543",
   "type":2,
   "password":"xxxxxxxxx",
   "start_time":"2023-04-20T03:40:00Z",
   "end_time": null,
   "timezone":null,
   "recurrence":null,
   "duration":60,
   "settings":{
      "approval_type":0,
      "registrants_email_notification":true,
      "meeting_authentication":true,
      "use_pmi":false,
      "meeting_invitees":[{"email":"test@gmail.com"}]
   }
}

Delete API Request.

https://api.zoom.us/v2/meetings/84957255721?schedule_for_reminder=true&cancel_meeting_reminder=true

HI @malinda.p , this may be a bug. I’m messaging you for the following info:

  • developer email
  • production client id
  • full request/response of API requests
  • screenshot of behavior
  • steps on how to reproduce

Thanks!

I am experiencing this same issue, I’ve been using the endpoint to cancel a registrant for the last several months and I started seeing this error on Sunday or Monday whenever cancelling meeting registrants suddenly. It does cancel them, but sends a 401 error with the message “Can not load email.” (you can also see it happens if you manually cancel a registrant in Zoom not using the API endpoint the error flashes across the top of the screen)

3 Likes

Hi @gianni.zoom

I am also experiencing this same issue, I’ve been using the endpoint to cancel a registrant. Yesterday I started seeing this error, whenever canceling meeting registrants. It does cancel them, but sends status_code:400 & error {“code”:401, “message”: “Can not load email.”}

Thanks,
Sajal

2 Likes

Hi All, I have just submitted a service engineering ticket to look into this further as this may be a bug (ZSEE-89961). Please await status updates and let me know if anything changes.

Thanks!

@gianni.zoom

Any update on this?

Hi @malinda.p , I’ve just followed up with service engineering, but there are no new updates yet. I’ll share as soon as I have something.

Adding that we’re also seeing the same issue

Hi @evan , thanks for sharing. They are waiting for the appropriate API team to finish their investigation.

Hi @malinda.p @elenab @sajal.setiya @evan ,

This was in fact a bug (ZOOM-525902) and the fix should have been deployed the weekend of April 22 (PST). Can you all check the request again and see if it is resolved?

@gianni.zoom Now this works as expected.

1 Like

Hi @gianni.zoom
Yeah, it’s working now.

1 Like

Great to hear! Wish you the best with your development on the developer platform.