Handle unstructured text errors from ecoservice

fixes #1542 on github

This is a stopgap until the ecoservice can return JSON errors.