Getting "Slim Application Error" when updating issue using API

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
iame
Posts: 18
Joined: 01 Sep 2023, 02:00

Getting "Slim Application Error" when updating issue using API

Post 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?
atrol
Site Admin
Posts: 8398
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

I recommend to upgrade to latest stable version (2.26.1 at the moment) as a first step.
Please use Search before posting and read the Manual
Post Reply