Forum Discussion
Jack3
Nimbostratus
Aug 02, 2025How 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...
- 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]
- Create a new JSON profile.
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]
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects