def fail(self, data):
self.write({'<STR_LIT:status>': '<STR_LIT>', '<STR_LIT:data>': data})<EOL>self.finish()<EOL>
There was a problem with the data submitted, or some pre-condition
        of the API call wasn't satisfied.

        :type  data: A JSON-serializable object
        :param data: Provides the wrapper for the details of why the request
            failed. If the reasons for failure correspond to POST values,
            the response object's keys SHOULD correspond to those POST values.