function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matt@v.ax357Matt@v.ax357 

Sandbox and Security Tokens

Hi,
 
I've look around on the boards and through the documentation on this, but haven't been able to find an answer.  I'm using both the API and a third-party product to connect to Salesforce, and thus need a security token appended to my password (we haven't whitelisted our IP yet, as the IP of the connecting machine periodically changes right now, but we might use a static IP in the future).
 
connecting to the non-sandbox works fine with the token, but i'm unable to connect to the sandbox data with the same token.  Do i need to have a security token generated for the Sandbox login as well?  Will this interfere with the "live" login?
 
Thanks,
Matt
SuperfellSuperfell
i believe your sandbox token will be the same as your production users token at the time the sandbox copy was performed. Its safe to reset your token in sandbox, that won't affect your production user.
thunksalotthunksalot

How do you reset your security token in your sandbox and actually receive the email?  Because my sandbox email address is user@company.com.sb1 in the sandbox, I have no way of catching the email containing the new token.  I tried changing my email address in the sandbox back to user@company.com but it wouldn't let me.

 

-Sam

scottnelsonsmithscottnelsonsmith

I have exactly the same question.

thunksalotthunksalot

Hey Scott,  did you try requesting the sandbox send you an activation link and seeing if the activation email did or didn't arrive in your inbox?  After I wrote my message above, I decided to just go ahead and try requesting the activation link even though I was sure it would never arrive - but it did!  Not sure how or why but somehow Salesforce did get it to my correct address.

scottnelsonsmithscottnelsonsmith

Actually, I figured out what was wrong.  When I pulled dev7 from production, it reassigned the email to <my sf email>.dev7.

 

I had to go to menu item My Personal Information --> Personal Information --> and take the .dev suffix off the "email" entry.

 

Then, when I reset my security token, it successfully sent it to the email account I was expecting.

 

S DS D
I am using summer 14, and trying to generate security token in sandbox.I am not getting any mail. 
have checked the email on my user account,its correct.
Its strange it is working for production,but not for sandboxes.  what shall be checked?
bathybathy
did you check the emai deliverability settings in sanbox. you should change it to "All email"