Search found 7 matches

by mwas01
05 Sep 2019, 14:20
Forum: Help
Topic: Problem creating issues with custom fields using REST API
Replies: 1
Views: 2479

Problem creating issues with custom fields using REST API

Hi, I'm trying to create new issues using Mantis REST API but I'm getting a problem with custom fields, I'm following guidlines from Postman and sending that data in json: { 'summary': 'Test_summary', 'project': {'id': '123'}, 'custom_fields': [ { 'field': {'name': 'IP name'} 'value': 'Test', }, { '...
by mwas01
08 Jun 2018, 08:11
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 25872

Re: Error in REST API

I get exactly the same error message.
by mwas01
07 Jun 2018, 13:51
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 25872

Re: Error in REST API

I checked it, all files have UTF-8 without BOM encoding, there are no characters before php tag in custom_strings_inc, I removed close tag. I'm still getting same result.
by mwas01
04 Jun 2018, 14:28
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 25872

Re: Error in REST API

Do you have installed a 3rd party plugin? Do you use custom functions? Did you customize strings in custom_strings_inc.php? Did you change any original Mantis code? Which PHP version do you use? 1. No, no 3rd party plugins are installed. 2. No. 3. Yes, there are several custom strings added. 4. No,...
by mwas01
31 May 2018, 13:47
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 25872

Re: Error in REST API

It's us-ascii so it's UTF-8 without BOM. I'll appreciate any other idea :)
by mwas01
29 May 2018, 10:51
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 25872

Re: Error in REST API

Hi, Yes, of course I checked it in the first place. There are no characters before it. E.g. there could be someting wrong with your config_inc.php Could you suggest what may be wrong with it? Only thing in config_inc.php that refers to REST API is: # --- API Configuration --- $g_webservice_rest_enab...
by mwas01
29 May 2018, 10:09
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 25872

Error in REST API

Hi, I'm testing REST API in Mantis 2.14.0 and I receive followin error: curl --request GET 'mantis/api/rest/issues?filter_id=monitored' --header 'Authorization: xyz' <br /> <b>Fatal error</b>: Uncaught exception 'RuntimeException' with message 'Unexpected data in output buffer. Maybe you have charac...