Added try / except block at parseResponse