ArcGIS JSON to GeoJSON does not always work

Discussion created by gregory.giguashvili@pdgm on Mar 19, 2014
Latest reply on May 29, 2014 by sarahzohar88
I'm reading ArcGIS Server responses with conversion to GeoJSON format as described in post.

1. I've tried to search any explanation on how this conversion works, but I could not find anything. Could anyone provide pointers to how this query-based conversion works in general?

2. The above mentioned technique does not work for some Feature Server layers, returning empty results.
This one works fine:*&f=pjson

This one returns empty result:

Could anyone explain why and how the problem may be solved?

Thanks a lot