# Rstudio 2024 with invalid CSRF

**URL:** <https://discourse.openondemand.org/t/rstudio-2024-with-invalid-csrf/3887>\
**Category:** Get Help\
**Tags:** question\
**Created:** [November 21, 2024, 11:54am UTC](https://discourse.openondemand.org/t/rstudio-2024-with-invalid-csrf/3887 "2024-11-21T11:54:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![james-s-willis](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/james-s-willis/32/2543_2.png) [@james-s-willis](https://discourse.openondemand.org/u/james-s-willis)\
**Post date:** [December 13, 2024, 9:19pm UTC](https://discourse.openondemand.org/t/rstudio-2024-with-invalid-csrf/3887/4 "2024-12-13T21:19:03Z")

</div>

Hi,

I had a similar issue. I found the solution in [this ticket](https://discourse.openondemand.org/t/rstudio-2023-12-1-402-invalid-csrf-form/3393) helped solve it.

You also need to update your `view.html.erb` to the one found [here](https://github.com/OSC/bc_osc_rstudio_server/blob/master/view.html.erb).

---

_[View the full topic](https://discourse.openondemand.org/t/rstudio-2024-with-invalid-csrf/3887)._
