• Ashish Malhotra
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Getting the following error while importing simple data in Accounts. 

"The BillingStateCode field contains ON, which isn't an available state. Your administrator can add it for you."

This is what I am trying to import/insert

Account Name Country State
Account US United States NY (Inserted)
Account Canada Canada ON   (Failed with above error)
 
Hi All,

We are currently working on OAuth 2.0 User Agent flow where our Mobile App connects with Salesforce through a Connected App.

Although most of the time, user gets authenticated and authorized accurately. There are some instances where we see OAuth Error page (see the below image) instead of redirecting the User to appropriate redirection page.

We haven't been able to identify the cause for this behavior but we do know that the User trying to authenticate and authorize himself can be
  • New User
  • Existing User
  • Provide Corrector Incorrect credentails.
Any one has come across this behavior and has been able to idenitify the root cause ?


OAuth Error
Getting the following error while importing simple data in Accounts. 

"The BillingStateCode field contains ON, which isn't an available state. Your administrator can add it for you."

This is what I am trying to import/insert

Account Name Country State
Account US United States NY (Inserted)
Account Canada Canada ON   (Failed with above error)