Craig Brass Systems Forum: The API username and password that you used are not valid - Craig Brass Systems Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

The API username and password that you used are not valid

#1
User is offline   Matt 

  • Member
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 24-October 08
I have installed the API exactly word for word as in the docs and cannot get anything but:
The API username and password that you used are not valid

Any ideas?
0

#2
User is offline   Matt 

  • Member
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 24-October 08
QUOTE (Matt @ Oct 24 2008, 07:59 PM) <{POST_SNAPBACK}>
I have installed the API exactly word for word as in the docs and cannot get anything but:
The API username and password that you used are not valid

Any ideas?


I found the problem. Your api.class.php does an MD5 on the password. And your example files send the password as MD5 already this it does it twice and it is coming back wrong. You might want to update your example code or the api.
0

#3
User is offline   Andrew Gillard 

  • Staff - Lead Developer
  • Pip
  • Group: Developers
  • Posts: 97
  • Joined: 04-March 07
  • Gender:Male
  • Location:Basingstoke, United Kingdom
Updated; thanks for letting us know smile.gif
Andrew Gillard
Lead Developer - Craig Brass Systems
0

#4
User is offline   Trim 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-October 08
QUOTE (Andrew Gillard @ Oct 24 2008, 04:45 PM) <{POST_SNAPBACK}>
Updated; thanks for letting us know smile.gif


Where can I download the update?
0

#5
User is offline   Andrew Gillard 

  • Staff - Lead Developer
  • Pip
  • Group: Developers
  • Posts: 97
  • Joined: 04-March 07
  • Gender:Male
  • Location:Basingstoke, United Kingdom
I changed the example code, so just look in this sub-forum at the example code thread. Nothing in the API itself has changed.
Andrew Gillard
Lead Developer - Craig Brass Systems
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users