Getting a net.sf.json.JSONException: A JSONObject text must begin with '{' when running a Jenkins pipeline

Hi,

I am getting the following error when I am trying to run a Jenkins pipeline (using Jenkins Jenkins 2.249.1):

udson.remoting.ProxyException: net.sf.json.JSONException: A JSONObject text must begin with ‘{’ at character 1 of <META NAME=“robots”

Any fixes are welcome

Thank you so much

Jenkins 2.249.1 is a 4 year old Jenkins version. You should update Jenkins to latest LTS and also update all plugins to latest version.

1 Like