“[SyntaxError: Unexpected token <]” when I try to add documents to my Solr index with my Node/Express app
问题 I'm trying to integrate Solr into a Node/Express app and while I am using this Node package for the Solr integration. I am able to properly query the index, but following the instructions on the package's GitHub, I am unable to add documents to the index. I keep getting this error: [SyntaxError: Unexpected token <] On the Solr console, the error is a little more detailed: SEVERE: Error processing "legacy" update command:com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '['