How to cause an internal server error ON PURPOSE

causing an internal server error ON PURPOSE so i can make features that could stop data corruption or stop other errors from occuring from it

basically in my game there are cash, rank, and item datastores, however these break when theres an internal server error
how can i cause an internal server error on purpose to make my datastores immune to it and experiment on how other scripts function with this error present

turn off datastore access from game settings maybe…?
different error iirc but should do something to pcalls

edit:
image

i think you misunderstood

this is not a internal server error
this is a permission error

yeah, just thought if both throw in a pcall then you can test similarly

You can’t just cause a 500, but you can simulate one. Try setting one big of a value, or a long key.