Jump to content

Error in API response


snake

Recommended Posts

I am doing some work with the API, and there seems to be some issue with the JSON response, thay all have a close </li> tag on them

 

e.g.

 

 

{"result":"error","message":"A user already exists with that email address<\/li>"}

 

every single error response comes back with <\/li> on the end, as a result I cannot de-serialize it.

 

There is also a problem is the success message also. If I create a new client for example, the client gets created just fine, but the response I get back from the API is.

 

<head><title>Document Moved</title></head> <body><h1>Object Moved</h1>This document may be found <a HREF="http://dev.bluethunder.co/whmcs/clientareaprofileaddone.php">here</a></body>

 

but there is no such file on the server as clientareaprofileaddone.php, I have even checked the WHMCS download, and that file is not there.

Edited by snake
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated