Issue #10 invalid
Former user created an issue

I am adding the correct api_key )retrieved from my google account

but when i call client.adde_key() and notify() i get this error

C:\Python27\python.exe H:/event-notification/
pushnotify.nma.Client-DEBUG: _post sending data: {'application': u'test', 'developerkey': u' I DONT WANT TO POST MY KEYS HERE', 'apikey': 'I DONT WANT TO POST MY KEYS HERE', 'event': u'testing', 'description': u'testing nma notification'}
pushnotify.nma.Client-DEBUG: _post sending to url:
Traceback (most recent call last):
  File "H:/event-notification/", line 89, in <module>
  File "H:/event-notification/", line 74, in test_nma_payload
  File "H:/event-notification/", line 51, in send_notify
  File "H:\event-notification\", line 74, in send_notification
    result = client.notify(self._description, self._event, split=True)
  File "C:\Python27\lib\site-packages\pushnotify-0.5.1-py2.7.egg\pushnotify\", line 179, in notify
    send_notify(this_desc, event, kwargs)
  File "C:\Python27\lib\site-packages\pushnotify-0.5.1-py2.7.egg\pushnotify\", line 169, in send_notify
  File "C:\Python27\lib\site-packages\pushnotify-0.5.1-py2.7.egg\pushnotify\", line 99, in _parse_response
  File "C:\Python27\lib\site-packages\pushnotify-0.5.1-py2.7.egg\pushnotify\", line 109, in _raise_exception
pushnotify.exceptions.FormatError: ("Parameter 'apikey' has one or more keys with invalid length.", 400)

Comments (5)

  1. Log in to comment