Forum Discussion

Jack3's avatar
Jack3
Icon for Nimbostratus rankNimbostratus
Aug 02, 2025
Solved

How to allow Request getting blocked due to Malformed JSON data

Hi Everyone, I've little trouble understanding how i can allow this request. Requests are getting blocked at WAF end due to "Malformed JSON data" violation (Illegal character encountered - json syn...
  • Enes_Afsin_Al's avatar
    Aug 04, 2025

    Hi Jack3,

    • Create a new JSON profile.
      Security > Application Security > Content Profiles > JSON Profiles > Create New JSON Profile...
    • Edit the properties according to the JSON profile used by default.
    • Disable Parse Parameters option.
    • Allow forward slash (/) character in the Value Meta Characters tab.
    • Select newly created json profile from the "Header-Based Content Profiles" tab of the matching url.
      Security > Application Security > URLs > Allowed URLs > Allowed HTTP URLs > [URL] > Header-Based Content Profiles
      • Delete the line containing *json*.
      • Add new line:
        • Request Header Name: Content-Type
        • Request Header Value: *json*
        • Request Body Handling: JSON
        • Profile Name: [New json profile]