when sending an incorrect Wayang plan to the JSON API endpoint it throws an error in terminal instead of returning error