# Intermittent 3001 Error When Forcibly Ending a Session Using Video SDK API v2

**URL:** <https://devforum.zoom.us/t/intermittent-3001-error-when-forcibly-ending-a-session-using-video-sdk-api-v2/121219>\
**Category:** Video SDK\
**Created:** [November 20, 2024, 2:59pm UTC](https://devforum.zoom.us/t/intermittent-3001-error-when-forcibly-ending-a-session-using-video-sdk-api-v2/121219 "2024-11-20T14:59:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rauldaum](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rauldaum/32/65082_2.png) [@rauldaum](https://devforum.zoom.us/u/rauldaum)\
**Post date:** [November 20, 2024, 2:59pm UTC](https://devforum.zoom.us/t/intermittent-3001-error-when-forcibly-ending-a-session-using-video-sdk-api-v2/121219/1 "2024-11-20T14:59:43Z")

</div>

I am currently using the Video SDK API v2, and I am trying to forcibly end a session using the following method:

**PUT /videosdk/sessions/{sessionId}/status**  
**Body:** `{"action": "end"}`

While testing multiple times with participants present in the session,  
sometimes the session ends successfully, but other times, I get the following 3001 error, and the session does not end:  
`data: { code: 3001, message: 'The meeting could not be found or has expired.' }`

Are there any specific conditions required to use this API?
