You need to sign in to do that
Don't have an account?
nicksquash
Email2Case error - permission issue
Hi
I'm having trouble with my Email to Case agent.
I've got multiple Email to Case agents set up to run on about 7 different email address, and they all work fine.
I'm trying to change the Salesforce user that processes these messages, but I'm getting the following error:
The only thing I'm changing is the Salesforce login and password.
I've had a look, and if I change this user on to the System Admin profile, this error goes away and email to case works fine.
If I put it back on it's current custom profile, this error occurs every time.
Obviously it is bad practice to give users System Admin access when you don't need to, so I'm trying to determine which permissions I need to grant it in order for this to work.
Looking at the permissions I've granted to the profile, I can't see anything else (secure) that I can grant it.
ie. I've already given it the "manage cases", "edit tasks", "edit event's", "send emails" and bascially full permission access to all objects.
I have tried giving the new user the 'modify all data' and 'customize application' permissions (against my better judgement) as per the Salesforce online help, but this didn't help.
Does anyone know which permission is being denied?
thanks
Nick
I'm having trouble with my Email to Case agent.
I've got multiple Email to Case agents set up to run on about 7 different email address, and they all work fine.
I'm trying to change the Salesforce user that processes these messages, but I'm getting the following error:
Code:
2008-07-09 13:13:12,202 [main] INFO com.sforce.mail.EmailService loaded as a t imer service. 2008-07-09 13:13:13,834 [Timer-0] INFO processing 1 messages 2008-07-09 13:13:16,108 [Timer-0] ERROR Routing Addresses are not set up correct ly to run Email To Case. 2008-07-09 13:13:16,118 [Timer-0] ERROR com.sforce.exception.InvalidConfiguratio nException: Routing addresses are not setup correctly. com.sforce.exception.InvalidConfigurationException: Routing addresses are not se tup correctly. at com.sforce.mail.GenericClient.handleMessage(GenericClient.java:638) at com.sforce.mail.GenericClient.receive(GenericClient.java:409) at com.sforce.mail.EmailService$EmailWorker.run(EmailService.java:211) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)
The only thing I'm changing is the Salesforce login and password.
I've had a look, and if I change this user on to the System Admin profile, this error goes away and email to case works fine.
If I put it back on it's current custom profile, this error occurs every time.
Obviously it is bad practice to give users System Admin access when you don't need to, so I'm trying to determine which permissions I need to grant it in order for this to work.
Looking at the permissions I've granted to the profile, I can't see anything else (secure) that I can grant it.
ie. I've already given it the "manage cases", "edit tasks", "edit event's", "send emails" and bascially full permission access to all objects.
I have tried giving the new user the 'modify all data' and 'customize application' permissions (against my better judgement) as per the Salesforce online help, but this didn't help.
Does anyone know which permission is being denied?
thanks
Nick
Thanks for the suggestion.
The computer that our email to case is set up on also runs another script utilising the Apex Dataloader that uses this user when loading data into Salesforce.
I haven't tried using these credentials in the Force.com explorer as I haven't used the Force.com explorer.
I'll look into using the Force.com explorer and see if that makes a difference.
thanks
Nick
Mark
Thanks for that.
That indeed was the issue and has now solved this problem.
Regards
Nick