Actions
Bug #26045
closed"Unexpected: Unexpected end of input" as an API response when there is no JSON data
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Yes
Description
since 8.2, the following query will fail
curl --location --request DELETE -k 'https://localhost/rudder/api/18/nodes/834f4c05-2e44-451d-905e-439ac2ad594b?mode=erase' --header 'Accept: application/json' --header 'Content-Type: application/json' --header 'X-API-TOKEN: TOKEN' {"action":"deleteNode","result":"error","errorDetails":"Error when deleting Nodes; cause was: Unexpected: Unexpected end of input"}
removing
--header 'Content-Type: application/json'solves the issue
This used to work in Ruder 8.1
Updated by Nicolas CHARLES 10 days ago
- Status changed from New to Rejected
this is not a bug: we are abiding by the standard
Actions