Python Response Error Definition Chemistry