HTTP failed: Request body is not processable. Please check the errors.

Theo Adegboye February 26, 2025

 

I am currently attempting to integrate FortiAnalyzer with Opsgenie; however, I am encountering an error message that appears in the web debug log. This issue is preventing successful integration between the two platforms. I would greatly appreciate any assistance or guidance from anyone who has experience with this type of integration or who might have encountered similar issues. If you could help me understand what might be causing this error and how to resolve it, I would be very grateful. Thank you in advance for your support!


 

"message":"Request body is not processable. Please check the errors.","errors":{"message":"Message can not be empty."},"took":0.0,

 

"https://api.opsgenie.com/v2/alerts"

1 answer

0 votes
Bryan Guffey_Middleware
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2025

Hi Theo-

To answer a question like this, we'll need some more information: 

  1. Are there a set of directions & documentation you are following on either side? 
  2. What is the configuration you are using? 
  3. What is the goal of your integration? I can see you're using the Alerts API, but I don;t know whether which REST verb (GET, PUT, POST, DELETE) you're trying to use. Each API action requires different parameters.
  4. Is the message you posted coming when you are connecting to the Opsgenie APi? That message specifically means that there was no content in the message body to the Opsgenie API. You need to provide parameters to the REST API. Here is the documentation for the REST API. Take a look at the Sample Request under the API action you wish to do; that should give you some direction. 

Feel free to reply if you have more questions! 

Theo Adegboye February 26, 2025

The objective is to send events generated by FortiAnalyzer to Opsgenie, utilizing the integration method known as "POST." A question has arisen regarding whether Opsgenie can accept a field named "msg" in place of the expected "message" field. Based on the error information, it appears that Opsgenie specifically requires a field labeled "message." However, the FAZnotify system, which is responsible for sending notifications from FortiAnalyzer, includes a field designated as "msg" instead.

Can Opsgenie accept an alternative field name such as "msg" instead of its standard "message" field?

https://docs.fortinet.com/document/fortianalyzer/7.2.7/administration-guide/145903/creating-or-editing-itsm-connectors

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events