<p>I'm getting an internal server error when I try to update the my entry's slug on prod, but not on dev or locally. It's happening across entries, it doesn't seem to be specific to a certain entry. Any ideas why this might be happening?<a href="https://i.sstatic.net/6bu44.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6bu44.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-01-25T15:13:18.563Z
Hey, I would delete the contents of /storage/logs on your production server then refresh this page to generate a new web.log file. The answer is likely in there, if it's cryptic then paste the contents of your log file into the question.
dmatthams
CC BY-SA 4.0
2021-01-25T15:55:05.420Z
@dmatthams thanks - I'm getting `Request didn’t meet the user agent and IP requirement for maintaining a user session.` I've seen comments about checking the cpTrigger (it's currently set to "admin") but I'm not sure what to change it to/how it would help...
Lisa
CC BY-SA 4.0
2021-01-26T12:58:15.237Z
This is a very odd error, especially considering It only happens when changing a slug. Maybe someone else will have an answer, but I would probably give support@craftcms.com a go as I think this may be difficult to resolve here.
dmatthams
CC BY-SA 4.0
2021-01-26T14:31:08.980Z
@Lisa Are you sure that's the error message of this particular request? Typically I've seen that "maintaining user session" error message in logs but it's with with bots hitting the site (because they don't accept cookies). While not recommended for production, if you turn on devMode temporarily (which can be easier than sifting through the log files),  hit the CP again and see what happens then turn it off right away (so you don't forget to leave it on).
RitterKnight
CC BY-SA 4.0
2021-02-15T19:54:24.853Z
Turns out it was an error with the router plugin - it was struggling because we had tried to use a special character in a slug, and that just triggered a slew of errors. Thanks for the help!!
Lisa
<craft3><error><server><slug><entry-slug>
Internal Server Error when updating slug
# Internal Server Error when updating slug

(Asked by: username_0 on 2021-01-25)

I'm getting an internal server error when I try to update the my entry's slug on prod, but not on dev or locally. It's happening across entries, it doesn't seem to be specific to a certain entry. Any ideas why this might be happening?[![enter image description here](https://i.sstatic.net/6bu44.png)](https://i.sstatic.net/6bu44.png)

**Tags:** craft3, error, server, slug, entry-slug
> **Comments:**
> **username_1**: Hey, I would delete the contents of /storage/logs on your production server then refresh this page to generate a new web.log file. The answer is likely in there, if it's cryptic then paste the contents of your log file into the question.  
> **username_0**: @dmatthams thanks - I'm getting `Request didn’t meet the user agent and IP requirement for maintaining a user session.` I've seen comments about checking the cpTrigger (it's currently set to "admin") but I'm not sure what to change it to/how it would help...  
> **username_1**: This is a very odd error, especially considering It only happens when changing a slug. Maybe someone else will have an answer, but I would probably give support@craftcms.com a go as I think this may be difficult to resolve here.  
> **username_2**: @Lisa Are you sure that's the error message of this particular request? Typically I've seen that "maintaining user session" error message in logs but it's with with bots hitting the site (because they don't accept cookies). While not recommended for production, if you turn on devMode temporarily (which can be easier than sifting through the log files),  hit the CP again and see what happens then turn it off right away (so you don't forget to leave it on).  
> **username_0**: Turns out it was an error with the router plugin - it was struggling because we had tried to use a special character in a slug, and that just triggered a slew of errors. Thanks for the help!!  

---

## 0 answers

