Defect #27355

How to provide custom acknowledgement meesage in resposne BODY of Redmine REST API POST call

Added by Sandeep Kutwal 16 days ago.

Status:NewStart date:
Priority:UrgentDue date:
Assignee:-% Done:


Category:REST API
Target version:-
Resolution: Affected version:


Hi All,

How to provide custom acknowledgement format as response to REST API call (POST) in Redmine while while user tries to create the issue with wrong JSON format using REST POST call.

Below should be response BODY along with status code as 400 .

“errorMessage”:”Wrong JSON format ,Please check ”

Simply , how to enable custom messages in BODY of response from REST call. In Redmine , apart from issue creation with POST call , no other option (for e.g PUT) dosent provides any BODY to caller as response.

Thanks in advance .

Also available in: Atom PDF