Zenfolio Downloader API 1.8 login issue

kidstyle24kidstyle24 Member Posts: 1
edited October 2015 in Zenfolio Development API
Hi

Is there anyone can help me, I'm using the Zenfolio Downloader API 1.8 and one zenfolio account that I'm using cannot login using its credential and giving me error. But when I tried using different account it is working fine. Below are some more details.

Error message:
System.Web.Services.Protocols.SoapException: Value cannot be null. Parameter name: InString at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at ZenfolioAPI.com.zenfolio.www.ZfApi.GetChallenge(String loginName) at ZenfolioAPI.Client.ZenfolioClient.Login(String loginName, String

Code Snippet (.NET):

ZenfolioClient client = new ZenfolioClient();
client.Login("username", "password");
token = client.Token;
client.LoginToken(token);

This is the original class from zenfolio release

public bool Login(string loginName, string password)
{
// Get API challenge
AuthChallenge ch = this.GetChallenge(loginName);

// Extract and hash password bytes
byte[] passwordHash = HashData(ch.PasswordSalt, Encoding.UTF8.GetBytes(password));

// Compute secret proof
byte[] proof = HashData(ch.Challenge, passwordHash);

// Authenticate
_token = this.Authenticate(ch.Challenge, proof);
return _token != null;
}

API Version: 1.8

Thanks
Eyb

Answers

  • StephenZenStephenZen Administrator Posts: 607
    I followed-up with out Engineers on this. The issue should now be resolved.

    If you see any further issues, please reach out to our support team here.
Sign In or Register to comment.
Help test new Zenfolio features by applying to become a Beta Tester. More info here.
Join our live streaming Zenfolio Customer Support Q & A session on You Tube!

Thursday's at 2pm EST 11am PST

NOTE: You can sign in using your Zenfolio account! To link both accounts, make sure both email addresses match before signing in.
If you have a new feature idea that you think would be a great addition to the Zenfolio service please submit it to our feature voting system.