DX OpenExplore API frequently responds with a dubious unescaped newline.
search cancel

DX OpenExplore API frequently responds with a dubious unescaped newline.

book

Article ID: 411837

calendar_today

Updated On:

Products

Observability DX OpenExplore

Issue/Introduction

DX OpenExplore (previously known as Wavefront) returns responses that are unescaped. When unmarshal the response, it returns an "invalid character '\\n' in string literal" error. Sanitized the input, confirmed that the request does not have any unescaped characters.

Cause

The new line '\n' character is used as a keep-alive during long running API queries.

Resolution

Update to the code will resolve the '\n' character being included in the results returned.

 

DX OpenExplore - Release Notes