SyntaxError: Unexpected token % in JSON at position 0
at JSON.parse (<anonymous>)
at module.exports.search (/var/app/current/controllers/productDetails.js:621:30)
at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
at next (/var/app/current/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/app/current/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
at /var/app/current/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/app/current/node_modules/express/lib/router/index.js:335:12)
at next (/var/app/current/node_modules/express/lib/router/index.js:275:10)
at Function.handle (/var/app/current/node_modules/express/lib/router/index.js:174:3)
at router (/var/app/current/node_modules/express/lib/router/index.js:47:12)
at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/app/current/node_modules/express/lib/router/index.js:317:13)
at /var/app/current/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/var/app/current/node_modules/express/lib/router/index.js:335:12)
at next (/var/app/current/node_modules/express/lib/router/index.js:275:10)
at /var/app/current/node_modules/express/lib/router/index.js:635:15
at next (/var/app/current/node_modules/express/lib/router/index.js:260:14)
at Function.handle (/var/app/current/node_modules/express/lib/router/index.js:174:3)
at router (/var/app/current/node_modules/express/lib/router/index.js:47:12)
at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/app/current/node_modules/express/lib/router/index.js:317:13)