Messaging response code for blocked services

0 views
Skip to first unread message

mrtazz

unread,
Sep 30, 2010, 3:53:02 AM9/30/10
to Notifo Developers
Hi all,

while implementing the messaging feature into the notifo python
library I noticed that the actual response code for blocked services
seems to differ from the documentation. The docs state
{ "status":"error", "response_code":1102, "response_message":"Not
allowed to send to user"}. However in my tests I always get 403 for
blocked services and users.

Can anyone confirm this?

Chad Etzel

unread,
Sep 30, 2010, 1:36:41 PM9/30/10
to notifo-d...@googlegroups.com
Hmm I'll double check this and get back to you.
-Chad

Chad Etzel

unread,
Sep 30, 2010, 6:16:00 PM9/30/10
to notifo-d...@googlegroups.com
Yes, it is returning a 403 HTTP response code (which is the HTTP error
code for "Forbidden"), but the body of the response, which is from
Notifo, says:

{"status":"error", "response_code":1102, "response_message":"Not


allowed to send to user"}

The response code in the json (1102 in this case) is Notifo specific.

-Chad

Reply all
Reply to author
Forward
0 new messages