# YouTube transcript download worked, and then stopped working, in Tutor Palm

**URL:** <https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804>\
**Category:** Site Operations Help\
**Created:** [August 29, 2024, 11:43am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804 "2024-08-29T11:43:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ABC](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abc/32/4946_2.png) [@ABC](https://discuss.openedx.org/u/ABC)\
**Post date:** [August 29, 2024, 11:43am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/1 "2024-08-29T11:43:16Z")

</div>

I was blissfully happy that YouTube transcript import appeared to be fixed in Palm, and I used it to successfully import a number of transcripts into a class. But then all of a sudden it just stopped working…

There’s only one hit for “error” in the logs:

```auto
caddy-1 | {"level":"error","ts":1724930929.0690713,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en?videoId=OSOyFiOiNd4","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.102544939,"size":0,"status":404}
cms-1 | [pid: 13|app: 0|req: 19/62] 172.18.0.3 () {62 vars in 4025 bytes} [Thu Aug 29 11:28:48 2024] GET /preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en?videoId=OSOyFiOiNd4 => generated 0 bytes in 101 msecs (HTTP/1.1 404) 5 headers in 307 bytes (1 switches on core 0)

```

Does anyone know what could cause this to stop working?

Full logs for the actions of adding a video xblock, and changing the video URL are below:

Chunk 1 (cause it’s too long)

```auto
mysql-1 | 2024-08-29T11:28:34.248867Z 110 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:34,251 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/", "context": {"user_id": 3, "path": "/xblock/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2024-08-29T11:28:34.251584+00:00", "event_type": "/xblock/", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930914.3211768,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/xblock/","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.082482933,"size":191,"status":200}
cms-1 | [pid: 7|app: 0|req: 14/50] 172.18.0.3 () {68 vars in 3812 bytes} [Thu Aug 29 11:28:34 2024] POST /xblock/ => generated 191 bytes in 81 msecs (HTTP/1.1 200) 8 headers in 422 bytes (1 switches on core 0)
mysql-1 | 2024-08-29T11:28:34.389070Z 111 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:34,391 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview", "context": {"user_id": 3, "path": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"_\": [\"1724930664522\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:34.391706+00:00", "event_type": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview", "event_source": "server", "page": null}
cms-1 | [pid: 13|app: 0|req: 14/51] 172.18.0.3 () {62 vars in 3975 bytes} [Thu Aug 29 11:28:34 2024] GET /xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview?_=1724930664522 => generated 12425 bytes in 110 msecs (HTTP/1.1 200) 7 headers in 493 bytes (1 switches on core 0)
caddy-1 | {"level":"info","ts":1724930914.4917374,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview?_=1724930664522","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.113225006,"size":3028,"status":200}
mysql-1 | 2024-08-29T11:28:34.565776Z 112 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:34,569 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en", "context": {"user_id": 3, "path": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"videoId\": [\"3_yD_cEKoCk\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:34.569142+00:00", "event_type": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en", "event_source": "server", "page": null}
mysql-1 | 2024-08-29T11:28:34.576290Z 113 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:34,579 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "context": {"user_id": 3, "path": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2024-08-29T11:28:34.579410+00:00", "event_type": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "event_source": "server", "page": null}
mysql-1 | 2024-08-29T11:28:34.606436Z 114 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
lms-1 | 2024-08-29 11:28:34,613 INFO 7 [tracking] [user None] [ip 123.123.123.123] logger.py:41 - {"name": "/courses/yt_video_metadata", "context": {"user_id": null, "path": "/courses/yt_video_metadata", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "mysite.com", "referer": "https://studio.mysite.com/", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"id\": [\"3_yD_cEKoCk\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:34.612648+00:00", "event_type": "/courses/yt_video_metadata", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930914.616266,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54545","proto":"HTTP/2.0","method":"OPTIONS","host":"mysite.com","uri":"/courses/yt_video_metadata?id=3_yD_cEKoCk","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"mysite.com"}},"user_id":"","duration":0.021918195,"size":0,"status":200}
lms-1 | [pid: 7|app: 0|req: 8/17] 172.18.0.3 () {56 vars in 975 bytes} [Thu Aug 29 11:28:34 2024] OPTIONS /courses/yt_video_metadata?id=3_yD_cEKoCk => generated 0 bytes in 21 msecs (HTTP/1.1 200) 4 headers in 140 bytes (1 switches on core 0)
cms-1 | 2024-08-29 11:28:34,630 WARNING 7 [xmodule.video_block.video_handlers] [user 3] [ip 123.123.123.123] video_handlers.py:354 - [Translation Dispatch] block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631: Transcript not found for , lang: en
caddy-1 | {"level":"error","ts":1724930914.65487,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en?videoId=3_yD_cEKoCk","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.100436593,"size":0,"status":404}
cms-1 | [pid: 7|app: 0|req: 15/52] 172.18.0.3 () {62 vars in 4025 bytes} [Thu Aug 29 11:28:34 2024] GET /preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en?videoId=3_yD_cEKoCk => generated 0 bytes in 100 msecs (HTTP/1.1 404) 5 headers in 307 bytes (1 switches on core 0)
mysql-1 | 2024-08-29T11:28:34.691707Z 115 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
caddy-1 | {"level":"info","ts":1724930914.7143867,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/event","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.035818818,"size":0,"status":204}
cms-1 | [pid: 7|app: 0|req: 16/53] 172.18.0.3 () {68 vars in 3824 bytes} [Thu Aug 29 11:28:34 2024] POST /event => generated 0 bytes in 35 msecs (HTTP/1.1 204) 8 headers in 436 bytes (1 switches on core 0)
cms-1 | [pid: 13|app: 0|req: 15/54] 172.18.0.3 () {62 vars in 3928 bytes} [Thu Aug 29 11:28:34 2024] GET /xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6 => generated 10895 bytes in 160 msecs (HTTP/1.1 200) 6 headers in 325 bytes (1 switches on core 0)
caddy-1 | {"level":"info","ts":1724930914.7250013,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.162273042,"size":1737,"status":200}
mysql-1 | 2024-08-29T11:28:35.136457Z 116 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
caddy-1 | {"level":"info","ts":1724930915.1533532,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/event","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.026798438,"size":0,"status":204}
cms-1 | [pid: 7|app: 0|req: 17/55] 172.18.0.3 () {68 vars in 3824 bytes} [Thu Aug 29 11:28:35 2024] POST /event => generated 0 bytes in 26 msecs (HTTP/1.1 204) 8 headers in 436 bytes (1 switches on core 0)
cms-worker-1 | [2024-08-29 11:28:40,988: INFO/ForkPoolWorker-1] Updating discussion settings for course: course-v1:MySite+MyClass+V1
mysql-1 | 2024-08-29T11:28:40.993842Z 117 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-worker-1 | [2024-08-29 11:28:41,013: INFO/ForkPoolWorker-1] Updating existing discussion topic links for course-v1:MySite+MyClass+V1
cms-worker-1 | [2024-08-29 11:28:41,015: INFO/ForkPoolWorker-1] Creating new discussion topic links for course-v1:MySite+MyClass+V1
cms-worker-1 | [2024-08-29 11:28:41,017: INFO/ForkPoolWorker-1] Responses of the Open edX Event <org.openedx.learning.discussions.configuration.changed.v1>: 
cms-worker-1 | [(<function handle_course_discussion_config_update at 0x7308e4736a60>, None)]
cms-worker-1 | [2024-08-29 11:28:41,018: INFO/ForkPoolWorker-1] Task openedx.core.djangoapps.discussions.tasks.update_discussions_settings_from_course_task[ec50b1e7-96f8-4a4b-9981-544a9242506a] succeeded in 0.03139158710837364s: None
mysql-1 | 2024-08-29T11:28:41.316524Z 118 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql-1 | 2024-08-29T11:28:41.464821Z 119 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:41,468 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view", "context": {"user_id": 3, "path": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"_\": [\"1724930664523\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:41.468122+00:00", "event_type": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930921.6012866,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view?_=1724930664523","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.150252984,"size":7841,"status":200}
cms-1 | [pid: 13|app: 0|req: 16/56] 172.18.0.3 () {62 vars in 3927 bytes} [Thu Aug 29 11:28:41 2024] GET /xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view?_=1724930664523 => generated 47791 bytes in 149 msecs (HTTP/1.1 200) 7 headers in 493 bytes (1 switches on core 0)
mysql-1 | 2024-08-29T11:28:41.655645Z 120 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:41,659 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/transcripts/check", "context": {"user_id": 3, "path": "/transcripts/check", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"data\": [\"{\\\"locator\\\":\\\"block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631\\\",\\\"videos\\\":[{\\\"mode\\\":\\\"youtube\\\",\\\"video\\\":\\\"3_yD_cEKoCk\\\",\\\"type\\\":\\\"youtube\\\"},{\\\"mode\\\":\\\"edx_video_id\\\",\\\"type\\\":\\\"edx_video_id\\\",\\\"video\\\":\\\"\\\"}]}\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:41.658834+00:00", "event_type": "/transcripts/check", "event_source": "server", "page": null}
lms-worker-1 | 2024-08-29 11:28:41,954 INFO 11 [openedx.core.djangoapps.content.block_structure.store] [user None] [ip None] store.py:165 - BlockStructure: Added to cache; block-v1:MySite+MyClass+V1+type@course+block@course, size: 14956
lms-worker-1 | 2024-08-29 11:28:41,956 INFO 11 [celery.app.trace] [user None] [ip None] trace.py:131 - Task openedx.core.djangoapps.content.block_structure.tasks.update_course_in_cache_v2[3811f17a-63e6-4776-be8c-085627a672fb] succeeded in 0.6466961558908224s: None
mysql-1 | 2024-08-29T11:28:42.020342Z 121 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-worker-1 | [2024-08-29 11:28:42,030: INFO/ForkPoolWorker-1] Task lms.djangoapps.discussion.tasks.update_discussions_map[c24f664c-8656-405f-8200-67aa3cfdc858] succeeded in 0.016881857067346573s: None
caddy-1 | {"level":"info","ts":1724930922.1845975,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/transcripts/check?data=%7B%22locator%22%3A%22block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631%22%2C%22videos%22%3A%5B%7B%22mode%22%3A%22youtube%22%2C%22video%22%3A%223_yD_cEKoCk%22%2C%22type%22%3A%22youtube%22%7D%2C%7B%22mode%22%3A%22edx_video_id%22%2C%22type%22%3A%22edx_video_id%22%2C%22video%22%3A%22%22%7D%5D%7D","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.542079092,"size":229,"status":200}
cms-1 | [pid: 7|app: 0|req: 18/57] 172.18.0.3 () {62 vars in 4449 bytes} [Thu Aug 29 11:28:41 2024] GET /transcripts/check?data=%7B%22locator%22%3A%22block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631%22%2C%22videos%22%3A%5B%7B%22mode%22%3A%22youtube%22%2C%22video%22%3A%223_yD_cEKoCk%22%2C%22type%22%3A%22youtube%22%7D%2C%7B%22mode%22%3A%22edx_video_id%22%2C%22type%22%3A%22edx_video_id%22%2C%22video%22%3A%22%22%7D%5D%7D => generated 229 bytes in 540 msecs (HTTP/1.1 200) 6 headers in 323 bytes (1 switches on core 0)
mongodb-1 | {"t":{"$date":"2024-08-29T11:28:43.551+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1724930923:551407][1:0x754cd5c27700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 69, snapshot max: 69 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 678417"}}
mysql-1 | 2024-08-29T11:28:43.621700Z 122 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:43,624 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/transcripts/check", "context": {"user_id": 3, "path": "/transcripts/check", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"data\": [\"{\\\"locator\\\":\\\"block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631\\\",\\\"videos\\\":[{\\\"mode\\\":\\\"youtube\\\",\\\"video\\\":\\\"OSOyFiOiNd4\\\",\\\"type\\\":\\\"youtube\\\"},{\\\"mode\\\":\\\"edx_video_id\\\",\\\"type\\\":\\\"edx_video_id\\\",\\\"video\\\":\\\"\\\"}]}\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:43.624500+00:00", "event_type": "/transcripts/check", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930924.088829,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/transcripts/check?data=%7B%22locator%22%3A%22block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631%22%2C%22videos%22%3A%5B%7B%22mode%22%3A%22youtube%22%2C%22video%22%3A%22OSOyFiOiNd4%22%2C%22type%22%3A%22youtube%22%7D%2C%7B%22mode%22%3A%22edx_video_id%22%2C%22type%22%3A%22edx_video_id%22%2C%22video%22%3A%22%22%7D%5D%7D","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.477465797,"size":229,"status":200}
cms-1 | [pid: 13|app: 0|req: 17/58] 172.18.0.3 () {62 vars in 4449 bytes} [Thu Aug 29 11:28:43 2024] GET /transcripts/check?data=%7B%22locator%22%3A%22block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631%22%2C%22videos%22%3A%5B%7B%22mode%22%3A%22youtube%22%2C%22video%22%3A%22OSOyFiOiNd4%22%2C%22type%22%3A%22youtube%22%7D%2C%7B%22mode%22%3A%22edx_video_id%22%2C%22type%22%3A%22edx_video_id%22%2C%22video%22%3A%22%22%7D%5D%7D => generated 229 bytes in 476 msecs (HTTP/1.1 200) 6 headers in 323 bytes (1 switches on core 0)

```

---

<div class="post-metadata">

**Author:** ![ABC](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abc/32/4946_2.png) [@ABC](https://discuss.openedx.org/u/ABC)\
**Post date:** [August 29, 2024, 11:43am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/2 "2024-08-29T11:43:59Z")

</div>

Logs Chunk 2 because it’s too long:

```auto
mysql-1 | 2024-08-29T11:28:48.701185Z 123 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:48,704 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631", "context": {"user_id": 3, "path": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2024-08-29T11:28:48.703881+00:00", "event_type": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930928.7820795,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/xblock/block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.091505338,"size":266,"status":200}
cms-1 | [pid: 7|app: 0|req: 19/59] 172.18.0.3 () {70 vars in 4048 bytes} [Thu Aug 29 11:28:48 2024] POST /xblock/block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631 => generated 266 bytes in 90 msecs (HTTP/1.1 200) 8 headers in 422 bytes (1 switches on core 0)
mysql-1 | 2024-08-29T11:28:48.812716Z 124 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:48,815 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview", "context": {"user_id": 3, "path": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"_\": [\"1724930664524\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:48.815150+00:00", "event_type": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview", "event_source": "server", "page": null}
cms-1 | [pid: 13|app: 0|req: 18/60] 172.18.0.3 () {62 vars in 3975 bytes} [Thu Aug 29 11:28:48 2024] GET /xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview?_=1724930664524 => generated 12425 bytes in 107 msecs (HTTP/1.1 200) 7 headers in 493 bytes (1 switches on core 0)
caddy-1 | {"level":"info","ts":1724930928.9121053,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/reorderable_container_child_preview?_=1724930664524","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.109768706,"size":3026,"status":200}
mysql-1 | 2024-08-29T11:28:48.943687Z 125 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:48,946 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state", "context": {"user_id": 3, "path": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {\"saved_video_position\": [\"00:00:00\"]}}", "time": "2024-08-29T11:28:48.946223+00:00", "event_type": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state", "event_source": "server", "page": null}
mysql-1 | 2024-08-29T11:28:48.980937Z 126 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
caddy-1 | {"level":"info","ts":1724930928.9806795,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.046398325,"size":17,"status":200}
cms-1 | [pid: 7|app: 0|req: 20/61] 172.18.0.3 () {68 vars in 4126 bytes} [Thu Aug 29 11:28:48 2024] POST /preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state => generated 17 bytes in 46 msecs (HTTP/1.1 200) 8 headers in 729 bytes (1 switches on core 0)
cms-1 | 2024-08-29 11:28:48,985 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en", "context": {"user_id": 3, "path": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"videoId\": [\"OSOyFiOiNd4\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:48.984748+00:00", "event_type": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en", "event_source": "server", "page": null}
mysql-1 | 2024-08-29T11:28:48.999050Z 127 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql-1 | 2024-08-29T11:28:49.007081Z 128 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:49,009 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "context": {"user_id": 3, "path": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2024-08-29T11:28:49.008742+00:00", "event_type": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "event_source": "server", "page": null}
lms-1 | 2024-08-29 11:28:49,011 INFO 13 [tracking] [user None] [ip 123.123.123.123] logger.py:41 - {"name": "/courses/yt_video_metadata", "context": {"user_id": null, "path": "/courses/yt_video_metadata", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "mysite.com", "referer": "https://studio.mysite.com/", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"id\": [\"OSOyFiOiNd4\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:49.011184+00:00", "event_type": "/courses/yt_video_metadata", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930929.0148313,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54545","proto":"HTTP/2.0","method":"OPTIONS","host":"mysite.com","uri":"/courses/yt_video_metadata?id=OSOyFiOiNd4","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"mysite.com"}},"user_id":"","duration":0.024349323,"size":0,"status":200}
lms-1 | [pid: 13|app: 0|req: 9/18] 172.18.0.3 () {56 vars in 975 bytes} [Thu Aug 29 11:28:48 2024] OPTIONS /courses/yt_video_metadata?id=OSOyFiOiNd4 => generated 0 bytes in 24 msecs (HTTP/1.1 200) 4 headers in 140 bytes (1 switches on core 0)
cms-1 | 2024-08-29 11:28:49,040 WARNING 13 [xmodule.video_block.video_handlers] [user 3] [ip 123.123.123.123] video_handlers.py:354 - [Translation Dispatch] block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631: Transcript not found for , lang: en
caddy-1 | {"level":"error","ts":1724930929.0690713,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en?videoId=OSOyFiOiNd4","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.102544939,"size":0,"status":404}
cms-1 | [pid: 13|app: 0|req: 19/62] 172.18.0.3 () {62 vars in 4025 bytes} [Thu Aug 29 11:28:48 2024] GET /preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/transcript/translation/en?videoId=OSOyFiOiNd4 => generated 0 bytes in 101 msecs (HTTP/1.1 404) 5 headers in 307 bytes (1 switches on core 0)
mysql-1 | 2024-08-29T11:28:49.095278Z 129 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
caddy-1 | {"level":"info","ts":1724930929.1192613,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/event","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.036757137,"size":0,"status":204}
cms-1 | [pid: 13|app: 0|req: 20/63] 172.18.0.3 () {68 vars in 3825 bytes} [Thu Aug 29 11:28:49 2024] POST /event => generated 0 bytes in 36 msecs (HTTP/1.1 204) 8 headers in 436 bytes (1 switches on core 0)
cms-1 | [pid: 7|app: 0|req: 21/64] 172.18.0.3 () {62 vars in 3928 bytes} [Thu Aug 29 11:28:48 2024] GET /xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6 => generated 10895 bytes in 161 msecs (HTTP/1.1 200) 6 headers in 325 bytes (1 switches on core 0)
caddy-1 | {"level":"info","ts":1724930929.1446269,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.177225424,"size":1737,"status":200}
mysql-1 | 2024-08-29T11:28:49.480736Z 130 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
caddy-1 | {"level":"info","ts":1724930929.5259802,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/event","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.055422408,"size":0,"status":204}
cms-1 | [pid: 13|app: 0|req: 21/65] 172.18.0.3 () {68 vars in 3825 bytes} [Thu Aug 29 11:28:49 2024] POST /event => generated 0 bytes in 54 msecs (HTTP/1.1 204) 8 headers in 436 bytes (2 switches on core 0)
mysql-1 | 2024-08-29T11:28:51.081298Z 131 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:51,084 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view", "context": {"user_id": 3, "path": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"_\": [\"1724930664525\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:51.083997+00:00", "event_type": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view", "event_source": "server", "page": null}
cms-1 | [pid: 7|app: 0|req: 22/66] 172.18.0.3 () {62 vars in 3927 bytes} [Thu Aug 29 11:28:51 2024] GET /xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view?_=1724930664525 => generated 47784 bytes in 98 msecs (HTTP/1.1 200) 7 headers in 493 bytes (1 switches on core 0)
caddy-1 | {"level":"info","ts":1724930931.1718304,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/studio_view?_=1724930664525","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.101153227,"size":7864,"status":200}
mysql-1 | 2024-08-29T11:28:51.221005Z 132 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:28:51,223 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/transcripts/check", "context": {"user_id": 3, "path": "/transcripts/check", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"data\": [\"{\\\"locator\\\":\\\"block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631\\\",\\\"videos\\\":[{\\\"mode\\\":\\\"youtube\\\",\\\"video\\\":\\\"OSOyFiOiNd4\\\",\\\"type\\\":\\\"youtube\\\"},{\\\"mode\\\":\\\"edx_video_id\\\",\\\"type\\\":\\\"edx_video_id\\\",\\\"video\\\":\\\"\\\"}]}\"]}, \"POST\": {}}", "time": "2024-08-29T11:28:51.223633+00:00", "event_type": "/transcripts/check", "event_source": "server", "page": null}
caddy-1 | {"level":"info","ts":1724930931.8146167,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54528","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/transcripts/check?data=%7B%22locator%22%3A%22block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631%22%2C%22videos%22%3A%5B%7B%22mode%22%3A%22youtube%22%2C%22video%22%3A%22OSOyFiOiNd4%22%2C%22type%22%3A%22youtube%22%7D%2C%7B%22mode%22%3A%22edx_video_id%22%2C%22type%22%3A%22edx_video_id%22%2C%22video%22%3A%22%22%7D%5D%7D","tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.604193337,"size":229,"status":200}
cms-1 | [pid: 13|app: 0|req: 22/67] 172.18.0.3 () {62 vars in 4449 bytes} [Thu Aug 29 11:28:51 2024] GET /transcripts/check?data=%7B%22locator%22%3A%22block-v1%3AMySite%2BMyClass%2BV1%2Btype%40video%2Bblock%401955d68fb2c248448371a59e427c1631%22%2C%22videos%22%3A%5B%7B%22mode%22%3A%22youtube%22%2C%22video%22%3A%22OSOyFiOiNd4%22%2C%22type%22%3A%22youtube%22%7D%2C%7B%22mode%22%3A%22edx_video_id%22%2C%22type%22%3A%22edx_video_id%22%2C%22video%22%3A%22%22%7D%5D%7D => generated 229 bytes in 603 msecs (HTTP/1.1 200) 6 headers in 323 bytes (1 switches on core 0)

```

---

<div class="post-metadata">

**Author:** ![ABC](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abc/32/4946_2.png) [@ABC](https://discuss.openedx.org/u/ABC)\
**Post date:** [August 29, 2024, 11:44am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/3 "2024-08-29T11:44:33Z")

</div>

And then I don’t know if it’s related, but I get a more clear python error (`xmodule.modulestore.exceptions.ItemNotFoundError: BlockKey(type='video', id='1955d68fb2c248448371a59e427c1631')` when I delete that video xblock back out of the class:

```auto
mysql-1 | 2024-08-29T11:36:27.244669Z 133 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:36:27,254 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631", "context": {"user_id": 3, "path": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2024-08-29T11:36:27.254675+00:00", "event_type": "/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631", "event_source": "server", "page": null}
cms-1 | 2024-08-29 11:36:27,295 ERROR 7 [django.dispatch] [user 3] [ip 123.123.123.123] dispatcher.py:214 - Error calling handle_item_deleted in Signal.send_robust() (BlockKey(type='video', id='1955d68fb2c248448371a59e427c1631'))
cms-1 | Traceback (most recent call last):
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 212, in send_robust
cms-1 | response = receiver(signal=self, sender=sender, **named)
cms-1 | File "/openedx/edx-platform/./cms/djangoapps/contentstore/signals/handlers.py", line 254, in handle_item_deleted
cms-1 | deleted_block = modulestore().get_item(usage_key)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 84, in inner
cms-1 | retval = func(field_decorator=strip_key_collection, *args, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 250, in get_item
cms-1 | return store.get_item(usage_key, depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split_draft.py", line 283, in get_item
cms-1 | return super().get_item(usage_key, depth=depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 1183, in get_item
cms-1 | items = self._load_items(course, [BlockKey.from_usage_key(usage_key)], depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 780, in _load_items
cms-1 | return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys]
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 780, in <listcomp>
cms-1 | return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys]
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 118, in _load_item
cms-1 | block_data = self.get_module_data(block_key, course_key)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 145, in get_module_data
cms-1 | raise ItemNotFoundError(block_key)
cms-1 | xmodule.modulestore.exceptions.ItemNotFoundError: BlockKey(type='video', id='1955d68fb2c248448371a59e427c1631')
cms-1 | 2024-08-29 11:36:27,348 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent item_deleted signal to <function handle_item_deleted at 0x79105f55cd30> with kwargs {'usage_key': BlockUsageLocator(CourseLocator('MySite', 'MyClass', 'V1', 'draft-branch', None), 'video', '1955d68fb2c248448371a59e427c1631'), 'user_id': 3}. Response was: BlockKey(type='video', id='1955d68fb2c248448371a59e427c1631')
cms-1 | 2024-08-29 11:36:27,350 INFO 7 [openedx_events.tooling] [user 3] [ip 123.123.123.123] tooling.py:156 - Responses of the Open edX Event <org.openedx.content_authoring.xblock.deleted.v1>: 
cms-1 | [(<function listen_for_xblock_deleted at 0x79105f55caf0>, None)]
cms-worker-1 | [2024-08-29 11:36:27,369: INFO/MainProcess] Task cms.djangoapps.contentstore.tasks.update_outline_from_modulestore_task[7daafeaf-a530-4e13-9dab-4e0a51d8c95a] received
cms-worker-1 | [2024-08-29 11:36:27,380: INFO/MainProcess] Task cms.djangoapps.contentstore.tasks.update_search_index[4b3e09e8-e19b-4cae-a427-eb5d73924dd1] received
mysql-1 | 2024-08-29T11:36:27.383131Z 134 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql-1 | 2024-08-29T11:36:27.393229Z 135 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-worker-1 | [2024-08-29 11:36:27,399: INFO/MainProcess] Task openedx.core.djangoapps.discussions.tasks.update_discussions_settings_from_course_task[49f67cce-a088-40af-9ac6-6f350cebdd68] received
cms-1 | 2024-08-29 11:36:27,403 INFO 7 [openedx.core.djangoapps.content.course_overviews.models] [user 3] [ip 123.123.123.123] models.py:294 - Attempting to load CourseOverview for course course-v1:MySite+MyClass+V1 from modulestore.
cms-worker-1 | [2024-08-29 11:36:27,413: INFO/ForkPoolWorker-2] HEAD http://elasticsearch:9200/courseware_content [status:200 request:0.008s]
cms-1 | 2024-08-29 11:36:27,419 INFO 7 [openedx.core.djangoapps.content.course_overviews.models] [user 3] [ip 123.123.123.123] models.py:194 - Updating course overview for course-v1:MySite+MyClass+V1.
lms-worker-1 | 2024-08-29 11:36:27,476 INFO 1 [celery.worker.strategy] [user None] [ip None] strategy.py:161 - Task openedx.core.djangoapps.content.block_structure.tasks.update_course_in_cache_v2[1840ffc7-1982-42bf-8500-2cd0ee0bb649] received
cms-1 | 2024-08-29 11:36:27,497 INFO 7 [openedx.core.djangoapps.course_date_signals.handlers] [user 3] [ip 123.123.123.123] handlers.py:125 - Extracting course dates for course-v1:MySite+MyClass+V1
cms-1 | 2024-08-29 11:36:27,515 INFO 7 [edx_when.api] [user 3] [ip 123.123.123.123] api.py:94 - Setting date for BlockUsageLocator(CourseLocator('MySite', 'MyClass', 'V1', None, None), 'course', 'course'), start, datetime.datetime(2025, 4, 1, 0, 0, tzinfo=<bson.tz_util.FixedOffset object at 0x79105d4943d0>)
cms-worker-1 | [2024-08-29 11:36:27,533: INFO/MainProcess] Task openedx.core.djangoapps.bookmarks.tasks.update_xblocks_cache[236c5c47-8116-427c-be61-b7d9acbb86e5] received
cms-worker-1 | [2024-08-29 11:36:27,544: INFO/MainProcess] Task openedx.core.djangoapps.course_apps.tasks.update_course_apps_status[05f20ff0-0eb8-4301-96a8-9be799915fcf] received
cms-1 | 2024-08-29 11:36:27,556 INFO 7 [celery_utils.logged_task] [user 3] [ip 123.123.123.123] logged_task.py:25 - Task lms.djangoapps.discussion.tasks.update_discussions_map[a5e52b6b-27cc-48a1-8b52-3dcd724c18a8] submitted with arguments [{'course_id': 'course-v1:MySite+MyClass+V1'}], None
cms-1 | 2024-08-29 11:36:27,556 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function listen_for_course_publish at 0x79105f55c940> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,556 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function export_course_metadata at 0x79105f819160> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,557 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function _listen_for_course_publish at 0x79105ea04430> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,557 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function _listen_for_course_publish at 0x79105ea04700> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,557 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function update_block_structure_on_course_publish at 0x79105ea0ea60> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,557 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function _listen_for_course_publish at 0x79105ea18940> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,557 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function extract_dates at 0x79105e8c5430> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,557 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x79105e8b09d0> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,558 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function update_course_apps at 0x79105e8b85e0> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-1 | 2024-08-29 11:36:27,558 INFO 7 [xmodule.modulestore.django] [user 3] [ip 123.123.123.123] django.py:212 - Sent course_published signal to <function update_discussions_on_course_publish at 0x79105e8b8d30> with kwargs {'course_key': CourseLocator('MySite', 'MyClass', 'V1', None, None)}. Response was: None
cms-worker-1 | [2024-08-29 11:36:27,570: INFO/ForkPoolWorker-2] HEAD http://elasticsearch:9200/course_info [status:200 request:0.007s]
caddy-1 | {"level":"info","ts":1724931387.5986936,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54591","proto":"HTTP/2.0","method":"DELETE","host":"studio.mysite.com","uri":"/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631","tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.360760962,"size":0,"status":204}
cms-1 | [pid: 7|app: 0|req: 23/68] 172.18.0.3 () {64 vars in 3948 bytes} [Thu Aug 29 11:36:27 2024] DELETE /xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631 => generated 0 bytes in 362 msecs (HTTP/1.1 204) 8 headers in 428 bytes (1 switches on core 0)
cms-worker-1 | [2024-08-29 11:36:27,611: INFO/ForkPoolWorker-1] Replacing CourseOutline for course-v1:MySite+MyClass+V1 (version 66d05984b7ef20bd65c35da7, 59 sequences)
cms-worker-1 | [2024-08-29 11:36:27,622: INFO/ForkPoolWorker-1] Found CourseContext for course-v1:MySite+MyClass+V1, updating...
mysql-1 | 2024-08-29T11:36:27.630687Z 136 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:36:27,644 INFO 13 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state", "context": {"user_id": 3, "path": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {\"saved_video_position\": [\"00:00:00\"]}}", "time": "2024-08-29T11:36:27.643774+00:00", "event_type": "/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state", "event_source": "server", "page": null}
cms-worker-1 | [2024-08-29 11:36:27,656: INFO/ForkPoolWorker-2] GET http://elasticsearch:9200/course_info/_mapping [status:200 request:0.014s]
mysql-1 | 2024-08-29T11:36:27.657625Z 137 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-1 | 2024-08-29 11:36:27,662 INFO 7 [tracking] [user 3] [ip 123.123.123.123] logger.py:41 - {"name": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "context": {"user_id": 3, "path": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "AdminUser", "session": "60a63b1df68f134a86b36adf0c9162e9", "ip": "123.123.123.123", "agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", "host": "studio.mysite.com", "referer": "https://studio.mysite.com/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2024-08-29T11:36:27.661203+00:00", "event_type": "/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6", "event_source": "server", "page": null}
cms-worker-1 | [2024-08-29 11:36:27,688: INFO/ForkPoolWorker-2] POST http://elasticsearch:9200/_bulk [status:200 request:0.017s]
cms-1 | 2024-08-29 11:36:27,731 ERROR 13 [root] [user None] [ip None] signals.py:22 - Uncaught exception from None
cms-1 | Traceback (most recent call last):
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
cms-1 | response = get_response(request)
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
cms-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
cms-1 | File "/opt/pyenv/versions/3.8.15/lib/python3.8/contextlib.py", line 75, in inner
cms-1 | return func(*args, **kwds)
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
cms-1 | return view_func(request, *args, **kwargs)
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/clickjacking.py", line 50, in wrapped_view
cms-1 | resp = view_func(*args, **kwargs)
cms-1 | File "/openedx/edx-platform/./cms/djangoapps/contentstore/views/preview.py", line 69, in preview_handler
cms-1 | descriptor = modulestore().get_item(usage_key)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 84, in inner
cms-1 | retval = func(field_decorator=strip_key_collection, *args, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 250, in get_item
cms-1 | return store.get_item(usage_key, depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split_draft.py", line 283, in get_item
cms-1 | return super().get_item(usage_key, depth=depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 1183, in get_item
cms-1 | items = self._load_items(course, [BlockKey.from_usage_key(usage_key)], depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 780, in _load_items
cms-1 | return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys]
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 780, in <listcomp>
cms-1 | return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys]
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 118, in _load_item
cms-1 | block_data = self.get_module_data(block_key, course_key)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 145, in get_module_data
cms-1 | raise ItemNotFoundError(block_key)
cms-1 | xmodule.modulestore.exceptions.ItemNotFoundError: BlockKey(type='video', id='1955d68fb2c248448371a59e427c1631')
caddy-1 | {"level":"info","ts":1724931388.0620222,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54591","proto":"HTTP/2.0","method":"GET","host":"studio.mysite.com","uri":"/xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6","tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.432310588,"size":1737,"status":200}
cms-1 | [pid: 7|app: 0|req: 24/69] 172.18.0.3 () {62 vars in 3928 bytes} [Thu Aug 29 11:36:27 2024] GET /xblock/container/block-v1:MySite+MyClass+V1+type@vertical+block@04dd0e6b6d2c4cf38a125ca0f00469e6 => generated 10895 bytes in 432 msecs (HTTP/1.1 200) 6 headers in 325 bytes (1 switches on core 0)
cms-1 | 2024-08-29 11:36:27,736 ERROR 13 [django.request] [user 3] [ip 123.123.123.123] log.py:224 - Internal Server Error: /preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state
cms-1 | Traceback (most recent call last):
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
cms-1 | response = get_response(request)
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
cms-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
cms-1 | File "/opt/pyenv/versions/3.8.15/lib/python3.8/contextlib.py", line 75, in inner
cms-1 | return func(*args, **kwds)
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
cms-1 | return view_func(request, *args, **kwargs)
cms-1 | File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/clickjacking.py", line 50, in wrapped_view
cms-1 | resp = view_func(*args, **kwargs)
cms-1 | File "/openedx/edx-platform/./cms/djangoapps/contentstore/views/preview.py", line 69, in preview_handler
cms-1 | descriptor = modulestore().get_item(usage_key)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 84, in inner
cms-1 | retval = func(field_decorator=strip_key_collection, *args, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 250, in get_item
cms-1 | return store.get_item(usage_key, depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split_draft.py", line 283, in get_item
cms-1 | return super().get_item(usage_key, depth=depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 1183, in get_item
cms-1 | items = self._load_items(course, [BlockKey.from_usage_key(usage_key)], depth, **kwargs)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 780, in _load_items
cms-1 | return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys]
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 780, in <listcomp>
cms-1 | return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys]
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 118, in _load_item
cms-1 | block_data = self.get_module_data(block_key, course_key)
cms-1 | File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 145, in get_module_data
cms-1 | raise ItemNotFoundError(block_key)
cms-1 | xmodule.modulestore.exceptions.ItemNotFoundError: BlockKey(type='video', id='1955d68fb2c248448371a59e427c1631')
caddy-1 | {"level":"error","ts":1724931388.149094,"logger":"http.log.access.log1","msg":"handled request","request":{"remote_ip":"123.123.123.123","remote_port":"54591","proto":"HTTP/2.0","method":"POST","host":"studio.mysite.com","uri":"/preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state","tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"studio.mysite.com"}},"user_id":"","duration":0.531047891,"size":52,"status":500}
cms-1 | [pid: 13|app: 0|req: 23/70] 172.18.0.3 () {68 vars in 4126 bytes} [Thu Aug 29 11:36:27 2024] POST /preview/xblock/block-v1:MySite+MyClass+V1+type@video+block@1955d68fb2c248448371a59e427c1631/handler/xmodule_handler/save_user_state => generated 52 bytes in 531 msecs (HTTP/1.1 500) 8 headers in 440 bytes (1 switches on core 0)
cms-worker-1 | [2024-08-29 11:36:28,772: INFO/ForkPoolWorker-1] Task cms.djangoapps.contentstore.tasks.update_outline_from_modulestore_task[7daafeaf-a530-4e13-9dab-4e0a51d8c95a] succeeded in 1.4003612156957388s: None
cms-worker-1 | [2024-08-29 11:36:28,779: INFO/ForkPoolWorker-1] Starting XBlockCaches update for course_key: course-v1:MySite+MyClass+V1
mysql-1 | 2024-08-29T11:36:28.786980Z 138 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-worker-1 | [2024-08-29 11:36:29,047: INFO/ForkPoolWorker-1] Ending XBlockCaches update for course_key: course-v1:MySite+MyClass+V1
cms-worker-1 | [2024-08-29 11:36:29,049: INFO/ForkPoolWorker-1] Task openedx.core.djangoapps.bookmarks.tasks.update_xblocks_cache[236c5c47-8116-427c-be61-b7d9acbb86e5] succeeded in 0.2720468584448099s: None
cms-worker-1 | [2024-08-29 11:36:29,054: INFO/MainProcess] Task lms.djangoapps.discussion.tasks.update_discussions_map[a5e52b6b-27cc-48a1-8b52-3dcd724c18a8] received
cms-worker-1 | [2024-08-29 11:36:29,058: INFO/ForkPoolWorker-1] openedx.core.djangoapps.course_apps.tasks.update_course_apps_status[05f20ff0-0eb8-4301-96a8-9be799915fcf]: Caching course apps status for course with id: course-v1:MySite+MyClass+V1
cms-worker-1 | [2024-08-29 11:36:29,061: INFO/MainProcess] Task cms.djangoapps.contentstore.tasks.update_special_exams_and_publish[eb52f2d8-508d-40f5-8a12-7b97f936614f] received
mysql-1 | 2024-08-29T11:36:29.068560Z 139 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-worker-1 | [2024-08-29 11:36:29,073: INFO/ForkPoolWorker-2] GET http://elasticsearch:9200/courseware_content/_mapping [status:200 request:0.004s]
cms-worker-1 | [2024-08-29 11:36:29,156: WARNING/ForkPoolWorker-1] Flag 'course_live.enable_course_live' accessed without a request, which is likely in the context of a celery task.
cms-worker-1 | [2024-08-29 11:36:29,169: INFO/ForkPoolWorker-2] POST http://elasticsearch:9200/_bulk [status:200 request:0.029s]
cms-worker-1 | [2024-08-29 11:36:29,177: WARNING/ForkPoolWorker-1] Flag 'teams.enable_teams_app' accessed without a request, which is likely in the context of a celery task.
cms-worker-1 | [2024-08-29 11:36:29,201: INFO/ForkPoolWorker-2] POST http://elasticsearch:9200/courseware_content/_search [status:200 request:0.028s]
cms-worker-1 | [2024-08-29 11:36:29,203: INFO/ForkPoolWorker-2] Task cms.djangoapps.contentstore.tasks.update_search_index[4b3e09e8-e19b-4cae-a427-eb5d73924dd1] succeeded in 1.8196501731872559s: None
cms-worker-1 | [2024-08-29 11:36:29,211: INFO/ForkPoolWorker-2] cms.djangoapps.contentstore.tasks.update_special_exams_and_publish[eb52f2d8-508d-40f5-8a12-7b97f936614f]: Attempting to register exams for course course-v1:MySite+MyClass+V1
mysql-1 | 2024-08-29T11:36:29.219855Z 140 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
cms-worker-1 | [2024-08-29 11:36:29,225: WARNING/ForkPoolWorker-2] Flag 'course_apps.exams_ida' accessed without a request, which is likely in the context of a celery task.
cms-worker-1 | [2024-08-29 11:36:29,227: INFO/ForkPoolWorker-2] cms.djangoapps.contentstore.tasks.update_special_exams_and_publish[eb52f2d8-508d-40f5-8a12-7b97f936614f]: Successfully registered exams for course course-v1:MySite+MyClass+V1
cms-worker-1 | [2024-08-29 11:36:29,227: INFO/ForkPoolWorker-2] cms.djangoapps.contentstore.tasks.update_special_exams_and_publish[eb52f2d8-508d-40f5-8a12-7b97f936614f]: Publishing course course-v1:MySite+MyClass+V1
cms-worker-1 | [2024-08-29 11:36:29,232: INFO/ForkPoolWorker-2] Task cms.djangoapps.contentstore.tasks.update_special_exams_and_publish[eb52f2d8-508d-40f5-8a12-7b97f936614f] succeeded in 0.024167943745851517s: None
cms-worker-1 | [2024-08-29 11:36:29,245: INFO/ForkPoolWorker-1] Task openedx.core.djangoapps.course_apps.tasks.update_course_apps_status[05f20ff0-0eb8-4301-96a8-9be799915fcf] succeeded in 0.18955812603235245s: None
^Ccanceled

```

Though that feels like that could just be because it failed to cache it in the first place

---

<div class="post-metadata">

**Author:** ![joel.edwards](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/joel.edwards/32/3193_2.png) [@joel.edwards](https://discuss.openedx.org/u/joel.edwards)\
**Post date:** [August 30, 2024, 10:43am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/4 "2024-08-30T10:43:10Z")

</div>

Sorry, I don’t have an _actual_ answer for your issue, but a suggestion for something alternative to YouTube’s transcriptions, if you’re internested in trying something entirely different 🙂

Personally I’ve never really had any luck getting YT’s subs to work properly with Tutor, and I’ve also found the auto-generated subs to be very low quality (lack of capitalisation, punctuation, words/acronyms not always recognised correctly, etc)

I’ve been using this for generating subs for my videos and found the results to overall be significantly better quality: [GitHub - m1guelpf/auto-subtitle: Automatically generate and overlay subtitles for any video.](https://github.com/m1guelpf/auto-subtitle)

---

<div class="post-metadata">

**Author:** ![Rick\_Sauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/rick_sauer/32/5984_2.png) [@Rick\_Sauer](https://discuss.openedx.org/u/Rick_Sauer)\
**Post date:** [September 4, 2024, 3:37am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/5 "2024-09-04T03:37:33Z")

</div>

I did find a solution, although not very elegant, it does let you attach transcripts that were captured.

Navigate to Video Transcripts in LMS Admin, [https://lmsurl/admin/edxval/videotranscript/](https://lmsurl/admin/edxval/videotranscript/)

You’ll have to find the video you want by going through the list and reading their JSON/SRT files to match the text with the video. I’m sure there may be another way, but I couldn’t find a link between the video in the module and the GUID.

![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/f/f96e179ef71812b5c630f6a5fc01d24508014cfe.png)

If they’re SRT files, then it should be as easy as download the SRT, edit the video and manually select the SRT file and saving.

![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/c/c101fd53bd792603560e0dab57977e24cdd0d52e.png)

If its a JSON you have to convert it to SRT. I had to hunt around, but did find a converter that worked [Convert CAP to SRT online for free! - Maestra](https://maestra.ai/tools/subtitle-converter/cap-to-srt)

Once its an SRT file you can attach it as above.

---

<div class="post-metadata">

**Author:** ![ABC](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abc/32/4946_2.png) [@ABC](https://discuss.openedx.org/u/ABC)\
**Post date:** [September 4, 2024, 11:18am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/6 "2024-09-04T11:18:02Z")

</div>

Thanks, but the issue isn’t that I can’t attach transcripts manually. I can still do that just from the “Upload new transcript” button. The issue is that it won’t import transcripts automatically anymore for new videos that I add to classes.

---

<div class="post-metadata">

**Author:** ![Rick\_Sauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/rick_sauer/32/5984_2.png) [@Rick\_Sauer](https://discuss.openedx.org/u/Rick_Sauer)\
**Post date:** [September 4, 2024, 11:42am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/7 "2024-09-04T11:42:37Z")

</div>

I had the same issue. The YouTube video would be added. But no transcript.

But I did find via the admin that it actually had captured it and not linked it. Hence the hunt in the admin and download etc.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [December 3, 2024, 11:43am UTC](https://discuss.openedx.org/t/youtube-transcript-download-worked-and-then-stopped-working-in-tutor-palm/13804/8 "2024-12-03T11:43:08Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
