Project

General

Profile

Actions

Bug #5931

closed

Api does not fail on bad JSON

Added by François ARMAND almost 10 years ago. Updated over 6 years ago.

Status:
Released
Priority:
3
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
28
Name check:
Fix check:
Regression:

Description

The Rudder API does not fail when you give it a bad formatted JSON.

The result is that we are thinking it's not a JSON request, and try to parse it as "normal" -d parameters, and don't find anything relevant, so we don't change anything.

This make testing and undertanding API usage extremelly infuriating.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5786: You cannot pass 'include' / 'exclude' targets as json for Rule API ReleasedVincent MEMBRÉ2014-11-19Actions
Actions

Also available in: Atom PDF