# Closed Caption API returns "404 Route Not Found"

**URL:** <https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [January 11, 2023, 2:14pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275 "2023-01-11T14:14:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [January 11, 2023, 2:14pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/1 "2023-01-11T14:14:27Z")

</div>

* * *

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**

> **[Using a third-party closed captioning service](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0060368)**
>
> As a meeting host, you can add closed captions to Zoom meetings by providing the third-party closed captioning

**Description**  
When I try to request sending a closed caption to a meeting that I hosts by using 3rd party CC API, the zoom api server returns 404 error and there is no description for the error code.

I’ve confirmed the two prerequisites to use the CC API,

- Closed caption enabled with this option selected: **Allow use of caption API Token to integrate with 3rd-party Closed Captioning services**
- Access to third-party close captioning service

**Error?**

“{“error\_msg”:“404 Route Not Found”}” and there is no information any more.

**How To Reproduce**

1. Open CC in Zoom client, and copy API token
2. Paste on postman, and add `seq` and `lang` parameters and send a request with closed caption text with text/plain type

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/1/d1580d1e927a0ec71697f0840983bec04e890805.png)

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 11, 2023, 9:49pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/2 "2023-01-11T21:49:45Z")

</div>

Hi, @peter3

Welcome to the Zoom developer forum --I’m happy to help you. As a start can you post the entire request with PII omitted? I’ve encountered this behavior before and the root cause needed to be corrected para value. Double-check that you are sending the correct param values in your request.

Feel free to let me know if you have any questions about this.

---

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [January 12, 2023, 2:53am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/3 "2023-01-12T02:53:44Z")

</div>

Thank you for the reply. Here is the my request.

```auto
curl -X POST --header 'Content-Type: text/plain' https://wmcc.zoom.us/closedcaption?id=83391073345&ns=UGV0ZXIgS2lt64uY7J2YIFpvb20g7ZqM7J2Y&expire=86400&sparams=id%2Cns%2Cexpire&signature=[REDACTED]&seq=41&lang=en-US --data 'Hello'

```

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 12, 2023, 3:33am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/4 "2023-01-12T03:33:07Z")

</div>

@peter3,

Are you only encountering this behavior when using curl? Can you share if you tested with a different language?

---

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [January 12, 2023, 3:35am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/5 "2023-01-12T03:35:27Z")

</div>

@donte.zoom I tested the API in Node.js and Postman, but it also returns 404 route not found error. I don’t think it is related to languages or request clients.

---

<div class="post-metadata">

**Author:** ![jake7](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jake7](https://devforum.zoom.us/u/jake7)\
**Post date:** [January 12, 2023, 1:08pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/6 "2023-01-12T13:08:43Z")

</div>

I also have been experiencing this issue for a few weeks. I’ve tried in node.js and a sample C# program. The node.js version had been running and working for over 1 year, then it just started getting 404 errors which it never had before.

Below is the C# sample code I used as a test.

1st param: the seq # to append to the parameters  
2nd param: text to send  
3rd param: caption key from the “Copy API Key” button in Zoom meeting

This was run as:_zoomtest 1 test **{REDACTED DUE TO PII}** _

Here is the C# code

```auto
using System;
using System.IO;
using System.Net;
using System.Text;

namespace zoomtest
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args.Length != 3)
                return;

            var url = args[2];

            url += "&seq="+args[0];
            url += "&lang=en-US";
            try
            {
                string postData = args[1];
                string response = string.Empty;
                HttpWebRequest req = WebRequest.Create(new Uri(url)) as HttpWebRequest;
                req.AllowWriteStreamBuffering = true;
                req.Method = "POST";                
                req.ContentType = "text/html;charset=utf-8";
                byte[] formData = UTF8Encoding.UTF8.GetBytes(postData);
                req.ContentLength = formData.Length;

                using (Stream post = req.GetRequestStream())
                {
                    post.Write(formData, 0, formData.Length);
                    post.Close();
                }

                using (HttpWebResponse resp = req.GetResponse() as HttpWebResponse)
                {
                    StreamReader reader = new StreamReader(resp.GetResponseStream());
                    string resContent = string.Empty;
                    resContent = reader.ReadToEnd();
                    response = resContent;
                }
            } catch (Exception e)
            {
                Console.WriteLine("Error: " + e);
            }
            
        }
    }
}

```

---

<div class="post-metadata">

**Author:** ![jake7](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jake7](https://devforum.zoom.us/u/jake7)\
**Post date:** [January 12, 2023, 3:41pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/7 "2023-01-12T15:41:41Z")

</div>

In case it helps, from my logs (which aren’t totally exhaustive, but pretty good) I got my first instance of a 404 error on Dec 5th.

---

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [January 13, 2023, 1:15am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/8 "2023-01-13T01:15:55Z")

</div>

Thank you @jake7 !  
So you mean, the client env (Node, .NET, or …) affects the success of the API request?

---

<div class="post-metadata">

**Author:** ![mynameismaxz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mynameismaxz/32/44061_2.png) [@mynameismaxz](https://devforum.zoom.us/u/mynameismaxz)\
**Post date:** [January 13, 2023, 2:59am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/9 "2023-01-13T02:59:38Z")

</div>

I found an error too. I’ve been testing with getting a sequence of zoom closed-caption messages and I found `{"error_msg":"404 Route Not Found"}`.

---

<div class="post-metadata">

**Author:** ![jake7](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jake7](https://devforum.zoom.us/u/jake7)\
**Post date:** [January 13, 2023, 3:54pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/10 "2023-01-13T15:54:45Z")

</div>

No I don’t think so. I did the C# .NET test after my original Node.js implementation on linux stopped working just to try and confirm it wasn’t specific to the way I had done it.

---

<div class="post-metadata">

**Author:** ![mynameismaxz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mynameismaxz/32/44061_2.png) [@mynameismaxz](https://devforum.zoom.us/u/mynameismaxz)\
**Post date:** [January 13, 2023, 11:47pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/11 "2023-01-13T23:47:27Z")

</div>

@donte.zoom any update for this ?

---

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [January 17, 2023, 2:15am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/12 "2023-01-17T02:15:11Z")

</div>

@donte.zoom I’m waiting for the progress. It looks Zoom side issue, so is it going to be resolved?

I need using the CC API.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 17, 2023, 4:28pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/13 "2023-01-17T16:28:37Z")

</div>

@peter3 , @mynameismaxz , and @jake7 ,

Can you confirm whether you are increasing the counter by one between posts of new caption data? (Note: it must not be increased for retries).

Here is a video reproducing the behavior for reference :

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/d/7dcdf0907d04b02e65ac6393b793f904b2f9530d.png)

Also, can you confirm whether your account meets the prerequisites for integrating with a third-party closed captioning service:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/d/bd29738ecf5cddb265869e68586d809398cfb0c1.png)

---

<div class="post-metadata">

**Author:** ![jake7](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jake7](https://devforum.zoom.us/u/jake7)\
**Post date:** [January 17, 2023, 5:40pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/14 "2023-01-17T17:40:13Z")

</div>

Yes I can confirm I’m incrementing it between posts. However I also get the 404 error on my first post where seq is always 1 (ie: I append “&seq=1&lang=en-US” to the API key)

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 17, 2023, 6:04pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/15 "2023-01-17T18:04:40Z")

</div>

@jake7 ,

Does that error occur when the seq value is 40 ? Also, does your account meet the prerequisites for integrating with a third-party closed captioning service ?

---

<div class="post-metadata">

**Author:** ![jake7](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jake7](https://devforum.zoom.us/u/jake7)\
**Post date:** [January 18, 2023, 5:38pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/16 "2023-01-18T17:38:39Z")

</div>

Yes it does occur when the value is 40. I do have those pre-requisite settings checked as well (getting the API key isn’t an option when I disable them, the button is gone). It does seem to sometimes work now, though not always. I’m still trying to find a pattern.

---

<div class="post-metadata">

**Author:** ![mynameismaxz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mynameismaxz/32/44061_2.png) [@mynameismaxz](https://devforum.zoom.us/u/mynameismaxz)\
**Post date:** [January 19, 2023, 6:39am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/17 "2023-01-19T06:39:21Z")

</div>

On 12-23-2022, I’ve been tested to get the sequence of captions with Postman and found an error route not found as in the below image.

 ![Screenshot 2565-12-23 at 10.59.17](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/7/57de4d8d9b67c032296f77579bf60340ea5ddc19.png)

So nowadays, I’ve been tested again. It’s work.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/5/e5e7cd149983db0e293de2742046f77eb8825864.jpeg)

Thanks @donte.zoom

---

<div class="post-metadata">

**Author:** ![jake7](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jake7](https://devforum.zoom.us/u/jake7)\
**Post date:** [January 25, 2023, 3:33pm UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/18 "2023-01-25T15:33:45Z")

</div>

@peter3@mynameismaxz I’ve had some successes in the last couple of days. I’m cautiously optimistic that the issue has been resolved.

---

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [February 14, 2023, 10:04am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/19 "2023-02-14T10:04:30Z")

</div>

Same here. Thank you!

But I don’t understand why I need to send a `seq` parameter to use the cc API. I think it could be totally handled by the Zoom server. Anyway, good news!

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 22, 2023, 3:51am UTC](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275/20 "2023-02-22T03:51:30Z")

</div>

@peter3 ,@jake7, & @mynameismaxz ,

Glad to hear that was helpful. Happy coding!

[Next page](https://devforum.zoom.us/t/closed-caption-api-returns-404-route-not-found/81275.md?page=2)
