Home Zenfolio Development API

Need Immediate Answers? Check out our SUPPORT CENTER or CONTACT OUR SUPPORT TEAM

Zenfolio Downloader API 1.8 login issue

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

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;

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



  • StephenZenStephenZen Administrator Posts: 609
    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.