Test webhook page by Zoyinc. --> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.3: /usr/bin/python
Tue Apr 23 02:55:45 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /srv/www/webhooks/test.py in ()
     31 logging.debug( 'Content-Type: application/json\n\n')
     32 requestLogFile = open('/var/log/webhooks/webhooks_requests.log',"a+")
=>   33 parsed = json.loads(received_json_data)
     34 requestLogFile.write( json.dumps(parsed, sort_keys=True, indent=4))   
     35 requestLogFile.close()
parsed undefined, json = <module 'json' from '/usr/lib/python2.7/json/__init__.pyc'>, json.loads = <function loads>, received_json_data = ''
 /usr/lib/python2.7/json/__init__.py in loads(s='', encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw={})
    324             parse_int is None and parse_float is None and
    325             parse_constant is None and object_pairs_hook is None and not kw):
=>  326         return _default_decoder.decode(s)
    327     if cls is None:
    328         cls = JSONDecoder
global _default_decoder = <json.decoder.JSONDecoder object>, _default_decoder.decode = <bound method JSONDecoder.decode of <json.decoder.JSONDecoder object>>, s = ''
 /usr/lib/python2.7/json/decoder.py in decode(self=<json.decoder.JSONDecoder object>, s='', _w=<built-in method match of _sre.SRE_Pattern object>)
    364 
    365         """
=>  366         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    367         end = _w(s, end).end()
    368         if end != len(s):
obj undefined, end undefined, self = <json.decoder.JSONDecoder object>, self.raw_decode = <bound method JSONDecoder.raw_decode of <json.decoder.JSONDecoder object>>, s = '', idx undefined, _w = <built-in method match of _sre.SRE_Pattern object>, ).end undefined
 /usr/lib/python2.7/json/decoder.py in raw_decode(self=<json.decoder.JSONDecoder object>, s='', idx=0)
    381         try:
    382             obj, end = self.scan_once(s, idx)
    383         except StopIteration:
=>  384             raise ValueError("No JSON object could be decoded")
    385         return obj, end
builtin ValueError = <type 'exceptions.ValueError'>

<type 'exceptions.ValueError'>: No JSON object could be decoded
      args = ('No JSON object could be decoded',)
      message = 'No JSON object could be decoded'