• Blake17
  • NEWBIE
  • 25 Points
  • Member since 2008

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi,

My team is developing some customizations using the SFDC API.
We got an error, trying to connect to SFDC sandbox instance:

faultCode: {urn:fault.enterprise.soap.sforce.com}INVALID_LOGIN

faultSubcode:

faultString: INVALID_LOGIN: Invalid username or password or locked out.

faultActor:

faultNode:

faultDetail:

{urn:fault.enterprise.soap.sforce.com}fault:

INVALID_LOGIN

Invalid username or password or locked out.


It looks pretty straight forward. We thought it had to do with a missing token, but after resolving the token issue - we could login through the web, but not via the code. The token was appended to the pwd in the code too.

Any idea is welcomed.

Thanks,
Etty
  • February 12, 2008
  • Like
  • 0
I am performing a simple child-to-parent relationship query between a custom child object (Packaged_Plan__c) and standard parent object (Opportunity):
 
    select Name, Opportunity__r.Name
    from Packaged_Plan__c
    where Opportunity__r.Name = 'abcxyz'
 
I am able to access the packaged plan fields by creating an object in C#:
 
    QueryResult qr = _binding.query(queryString);
    Packaged_Plan__c pp = (Packaged_Plan__c)qr.records[index];
    string ppName = pp.Name;
 
Since the opportunity name isn't contained in the custom packaged plan object, can someone please tell me know to access this value from the query results? The API documentation is minimal. I can perform another query if need be, but would rather do everything in one shot, if possible.
 
Also, does anyone know if it's possible to include an additional parent object in the query above (say, Account) and retrieve its values in the same query as well? E.g.,
 
    select Name, Account__r.Name, Opportunity__r.Name
    from Packaged_Plan__c
    where Opportunity__r.Name = 'abcxyz'
 
Thanks,
Blake
I am performing a simple child-to-parent relationship query between a custom child object (Packaged_Plan__c) and standard parent object (Opportunity):
 
    select Name, Opportunity__r.Name
    from Packaged_Plan__c
    where Opportunity__r.Name = 'abcxyz'
 
I am able to access the packaged plan fields by creating an object in C#:
 
    QueryResult qr = _binding.query(queryString);
    Packaged_Plan__c pp = (Packaged_Plan__c)qr.records[index];
    string ppName = pp.Name;
 
Since the opportunity name isn't contained in the custom packaged plan object, can someone please tell me know to access this value from the query results? The API documentation is minimal. I can perform another query if need be, but would rather do everything in one shot, if possible.
 
Also, does anyone know if it's possible to include an additional parent object in the query above (say, Account) and retrieve its values in the same query as well? E.g.,
 
    select Name, Account__r.Name, Opportunity__r.Name
    from Packaged_Plan__c
    where Opportunity__r.Name = 'abcxyz'
 
Thanks,
Blake
Hi,

My team is developing some customizations using the SFDC API.
We got an error, trying to connect to SFDC sandbox instance:

faultCode: {urn:fault.enterprise.soap.sforce.com}INVALID_LOGIN

faultSubcode:

faultString: INVALID_LOGIN: Invalid username or password or locked out.

faultActor:

faultNode:

faultDetail:

{urn:fault.enterprise.soap.sforce.com}fault:

INVALID_LOGIN

Invalid username or password or locked out.


It looks pretty straight forward. We thought it had to do with a missing token, but after resolving the token issue - we could login through the web, but not via the code. The token was appended to the pwd in the code too.

Any idea is welcomed.

Thanks,
Etty
  • February 12, 2008
  • Like
  • 0