Page 1 of 1

Getting "Slim Application Error" when updating issue using API

Posted: 29 Apr 2024, 07:24
by iame
Mantis Version: 2.25.7
PHP 8.0.30



When I want to update issue status using rest API
Some issues will succeed and some will fail.

My API body:

{
"status": {
"name": "feedback"
}
}


If the update fails, it will display:

<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'><title>Slim Application Error</title><style>body{margin:0; padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{display:inline -block;width:65px;}</style></head><body><h1>Slim Application Error</h1><p>A website error has occurred. Sorry for the temporary inconvenience.</p></ body></html>


Has anyone encountered similar problems? How can I solve it?

Re: Getting "Slim Application Error" when updating issue using API

Posted: 29 Apr 2024, 19:09
by atrol
I recommend to upgrade to latest stable version (2.26.1 at the moment) as a first step.