Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

bugfix: invalid parsing of response #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

khevse
Copy link

@khevse khevse commented Oct 4, 2017

If sender id is not valid, server response in html format. But error message said about error of parsing json

example:

<HTML>
<HEAD>
    <TITLE>Invalid (legacy) Server-key delivered or Sender is not authorized to perform request.</TITLE>
</HEAD>
<BODY BGCOLOR=\ "#FFFFFF\" TEXT=\ "#000000\">
    <H1>Invalid (legacy) Server-key delivered or Sender is not authorized to perform request.</H1>
    <H2>Error 401</H2>
</BODY>
</HTML>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant