Title: Error
Last modified: August 10, 2021

---

# Error

 *  Resolved [shimzan](https://wordpress.org/support/users/shimzan/)
 * (@shimzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/)
 * Hi there, I still cannot authorize the connection with SF. It states error=invalid_client_id&
   error_description=client%20identifier%20invalid and has been a couple days now.
   Any suggestions on how to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14753203)
 * Usually this is because one or more of the fields has an incorrect value. Salesforce
   doesn’t tell which field it is, but that’s usually the issue.
 *  Thread Starter [shimzan](https://wordpress.org/support/users/shimzan/)
 * (@shimzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14754497)
 * Hi there, I haven’t even created any fields yet. I am still trying to initiate
   the connection.
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14754555)
 * I should’ve been more specific about which fields I meant. To initiate the connection,
   you have to set the values for consumer key, consumer secret, callback URL, login
   URL, etc. and if any of those values are incorrect, Salesforce will return that
   error. There’s more info about this in [the documentation](https://github.com/MinnPost/object-sync-for-salesforce/blob/master/docs/initial-setup.md).
 *  Thread Starter [shimzan](https://wordpress.org/support/users/shimzan/)
 * (@shimzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14754576)
 * I understand. So if my salesforce is a whitelabel and has its own login URL, 
   do I use the default or the custom one?
    How long will it take to show if It 
   is correct?
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14754598)
 * In the experience I’ve had, users should almost always use [https://login.salesforce.com](https://login.salesforce.com)
   if it is a production instance, and [https://test.salesforce.com](https://test.salesforce.com)
   if it is a sandbox. This does still apply if you are redirected to something 
   like [https://something.my.salesforce.com](https://something.my.salesforce.com)
   once you are logged in.
 * I don’t personally have experience using other URLs for this; you might want 
   to talk to Salesforce about how to authenticate with the REST API if login.salesforce.
   com does not work (assuming it’s a production instance).
 * As for how long it takes, it depends on if you have changed anything on your 
   app in Salesforce. App changes in Salesforce (for example, getting a new consumer
   key) usually update in less than half an hour in my experience. If you haven’t
   changed anything in Salesforce but you have changed a setting in WordPress, there
   shouldn’t be a delay.
 *  Thread Starter [shimzan](https://wordpress.org/support/users/shimzan/)
 * (@shimzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14754670)
 * Thanks for all the help

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/object-sync-for-salesforce.svg)
 * [Object Sync for Salesforce](https://wordpress.org/plugins/object-sync-for-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/object-sync-for-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/object-sync-for-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/object-sync-for-salesforce/reviews/)

## Tags

 * [authorization](https://wordpress.org/support/topic-tag/authorization/)

 * 6 replies
 * 2 participants
 * Last reply from: [shimzan](https://wordpress.org/support/users/shimzan/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/error-1562/#post-14754670)
 * Status: resolved