Search found 7 matches

by mwas01
Sep 05, 2019 9:20 am
Forum: Help
Topic: Problem creating issues with custom fields using REST API
Replies: 0
Views: 149

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
Jun 08, 2018 3:11 am
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 2916

Re: Error in REST API

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

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
Jun 04, 2018 9:28 am
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 2916

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
May 31, 2018 8:47 am
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 2916

Re: Error in REST API

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

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
May 29, 2018 5:09 am
Forum: Help
Topic: Error in REST API
Replies: 16
Views: 2916

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...