View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034747 | mantisbt | api rest | public | 2024-09-24 10:17 | 2024-10-06 16:19 |
Reporter | jacques.chen | Assigned To | dregad | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2.26.3 | ||||
Summary | 0034747: API REST, POST Create a project | ||||
Description | I'm trying to implement API REST. By following the documentation at : https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP#16677869-82ac-50a0-e69f-c33986fbcf5f I have an issue with the POST request for the creation of a project.
Each time i try with a different name, i get an ERROR 500. So with the first call, the project is created successfully, however i dont get a return code 201 with the project_id. PHP Fatal error: 200 in /var/www/mantisbt/core/gpc_api.php on line 68 I use php 8.2.20 | ||||
Tags | No tags attached. | ||||
It works for me, no errors. Error 200 (ERROR_GPC_VAR_NOT_FOUND), can happen when trying to retrieve an HTTP parameter with gpc_get*() functions without a default value, but to my knowledge there is no such call in this context. Are you using any plug-ins, or did you customize MantisBT code ? |
|
Both. |
|
Based on your feedback, the problem you're facing is most likely not a MantisBT bug, but caused by a 3rd-party plugin or changes to MantisBT source code. I am therefore resolving this as "no change required". Please use the forums to get support on customizing and using MantisBT (refer to https://mantisbt.org/support.php for links and further details). |
|