# Salesforce Application Scope - Error

**URL:** <https://forum.uipath.com/t/salesforce-application-scope-error/531094>\
**Category:** Studio\
**Tags:** salesforceextentionpackage, studio, salesforce, activities\
**Created:** [March 30, 2023, 5:04pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094 "2023-03-30T17:04:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Belen\_Martin](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/belen_martin/32/379907_2.png) [@Belen\_Martin](https://forum.uipath.com/u/Belen_Martin)\
**Post date:** [March 30, 2023, 5:04pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094/1 "2023-03-30T17:04:32Z")

</div>

I’m fairly new to UiPath and I need urgent help with something. I’m trying to automate a process using Salesforce where I need to create a series of leads. However, in order to do that, I need to establish a connection with Salesforce first, but I’m having trouble doing so.  
I have also tried to do it without variables and I get the same problem with the type.  
I have also created in Firewall a new rule with server 8080 and nothing.  
Could someone help me with this issue?

 ![image](https://global.discourse-cdn.com/uipath/original/4X/8/8/6/886163f849ae813d8ee290f4eec9b37847a91b36.png)  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/0/f/d/0fd9219b6e58d1551439a5f9aa20564c7d913292.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [March 30, 2023, 5:55pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094/2 "2023-03-30T17:55:15Z")

</div>

@Belen_Martin

Looks like the target host is rejecting the request…you have to create a rule on the target system firewall or check if they are using any other port

Cheers

---

<div class="post-metadata">

**Author:** ![Belen\_Martin](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/belen_martin/32/379907_2.png) [@Belen\_Martin](https://forum.uipath.com/u/Belen_Martin)\
**Post date:** [March 30, 2023, 6:14pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094/3 "2023-03-30T18:14:41Z")

</div>

Actually, I have already created the rule in the firewall of the target system and it still fails.  
Thank you very much for your help!

 ![image](https://global.discourse-cdn.com/uipath/original/4X/f/e/4/fe4d37703aa06ce9504b67d85245be8ca13c741b.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [March 30, 2023, 6:19pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094/4 "2023-03-30T18:19:19Z")

</div>

@Belen_Martin

I believe when you mean target…the system to which you are trying to connect.-and not the system where you are using UiPath are trying to connect from  
UiPath right?

Cheers

---

<div class="post-metadata">

**Author:** ![Belen\_Martin](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/belen_martin/32/379907_2.png) [@Belen\_Martin](https://forum.uipath.com/u/Belen_Martin)\
**Post date:** [March 30, 2023, 6:26pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094/5 "2023-03-30T18:26:50Z")

</div>

![image](https://global.discourse-cdn.com/uipath/original/4X/e/f/1/ef1131727ea871bacca47bf927cb816eb0857f13.png)  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/f/5/5/f5578879b7e0463b3af6e7aa6c34f2af8198c81a.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [March 30, 2023, 6:57pm UTC](https://forum.uipath.com/t/salesforce-application-scope-error/531094/6 "2023-03-30T18:57:24Z")

</div>

@Belen_Martin

Please refer to this…I beleive the connection server is wrongly setup

 ![image](https://global.discourse-cdn.com/uipath/original/4X/f/5/9/f5914a6d04c86d4a4479627e22299c5b6c3954f6.png)

[https://docs.uipath.com/activities/other/latest/user-guide/salesforce-application-scope](https://docs.uipath.com/activities/other/latest/user-guide/salesforce-application-scope)

cheers
