2022 Developer Survey is open! Take survey.

Questions tagged [remote-site-settings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Displaying Rich Text Image in Salesforce from External Source

TL;DR RichText image is coming from external system. Get's into field, but does not display. Description Hello everyone, we have an integration from SolarWinds to Salesforce the user can add a Rich ...
user avatar
  • 1,268
1 vote
1 answer
47 views

PUT method of @future(callout=true) gives us 403 Forbidden error for the added remote site

I'm working on the trigger for the custom object, when we update the custom mail field, it has to be updated in the third party api(Which I've added in the remote site settings). As we know @future(...
user avatar
0 votes
0 answers
26 views

error: unsupported port: 444

I am getting an error when adding a site in the Remote Site Setting section. error: unsupported port: 444. supported ports are 80, 443, and 1024 to 65535 It is an external service and the provider ...
user avatar
1 vote
0 answers
49 views

Marketing Cloud Connector errors: fail to find the remote site settings

Getting this error when I select start Wizard. However, my remote site settings are there (MetaDataAPI url is in the org). When I use to set up manually (after conducting all the additional steps) it ...
user avatar
  • 11
2 votes
0 answers
52 views

MetadataAPI Remote Site Setting and Marketing Cloud

An instance migration is planned next week for our SF org. We have a marketing cloud business unit which is connected to it. As part of our preparation for the migration we followed the instructions ...
user avatar
  • 213
0 votes
1 answer
105 views

How to get list of fullNames of remote site settings using metadata api

Is there a way to list all full names of remote site settings in an org dynamically ?
user avatar
2 votes
1 answer
244 views

Possible to add Remote Site Settings to Scratch Org from sfdx cli?

I've been experimenting with a build script to generate a scratch org based on a Devhub that uses external API calls. Ideally this script would Build the scratch org and add Remote Site Settings for ...
user avatar
  • 23
-1 votes
1 answer
73 views

Unable to add the Remote URL https://th-superbadge-apex.herokuapp.com/equipment

Hi am attempting Challenge2 : Synchronize Salesforce data with an external system of the Apex Specialist Superbadge but unable to add the below url to Remote Site settings https://th-superbadge-apex....
user avatar
1 vote
1 answer
34 views

Push upgrades to customer orgs in salesforce for newer version

We have remote site settings that were there in the previous version of our salesforce app. Now if for newer version if I push upgrades to all customers will those remote sites be still whitelisted?
user avatar
0 votes
1 answer
260 views

sObject type 'RemoteProxy' is not supported

I'm having: "sObject type 'RemoteProxy' is not supported." when I try to do an API call. I'm sure it is a profile permission issue. RemoteProxy relates to 'Remote Site Settings'. On the ...
user avatar
1 vote
1 answer
371 views

How to configure RemoteSiteSetting and CsPTrustedSite metadata?

I am creating a Lightning Web Component which calls an external API to show the data on work.com Command Center. I want to distribute this component on AppExchange as a managed app. I found the ...
user avatar
2 votes
2 answers
401 views

Is it impossible in Salesforce to authorize a URL endpoint (in remote site settings) that contains an underscore?

I just discovered that we cannot access from Salesforce any URL which contains an underscore (_). When you try to enter a URL with an underscore in remote site settings, you get the error below. I ...
user avatar
  • 628
0 votes
1 answer
250 views

getSalesforceBaseUrl() returning an error in Anonymous

I want to execute a call to Lightning Platform REST API in Anonymous window. When I am writing the following: String sfURL = URL.getSalesforceBaseUrl().toExternalForm(); I am getting the following ...
user avatar
0 votes
0 answers
75 views

Adding remoteSite settings dynamically from postInstallScript

I checked this link to add remoteSiteSettings dynamically. Above link suggesting to add visualforce base url to remote site setting first. I am able to insert that without any issues from synchronous ...
user avatar
2 votes
1 answer
557 views

Unauthorized endpoint when calling Metadata API from Apex in @future

I am running into the exception IO Exception: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = https://eu25.salesforce.com/services/Soap/m/42.0 when ...
user avatar
0 votes
1 answer
233 views

Can Remote Site Settings whitelist IP addresses instead of/in addition to domains?

I'm just wondering: We make a number of callouts from Salesforce to different APIs, and so obviously we need to whitelist their respective domains with Remote Site Settings. However, I'm wondering ...
user avatar
1 vote
1 answer
358 views

Remote Site Settings are deactivated in Patch Org

I recently found out that when i create a patch org from packaging org, Remote site settings in patch org populate as deactivated. I was not aware of this and i released a patch. Now when i upgrade ...
user avatar
  • 5,714
4 votes
2 answers
3k views

Deployment Error: Property 'activateRSS' not valid in version 28.0

I am using ANT to deploy a custom package which includes custom code and managed packages. I have deployed the custom package to multiple environments without any issues but I am now facing the ...
user avatar
  • 4,664
1 vote
1 answer
2k views

Create remote site setting on post install script

I need to create a remote setting setting with org instance URL using URL.getSalesforceBaseUrl().toExternalForm() on post install script of package installation. Note : URL.getSalesforceBaseUrl()....
user avatar
  • 707
2 votes
1 answer
471 views

How to show google drive images in VF Pdf file

I need to show google drive bulk images in VF PDF file. currently am getting broken image. that image url saved in salesforce and remote site settings. how can i get that real image in vf pdf file.
user avatar
  • 345
1 vote
1 answer
3k views

Salesforce Rest System.HttpResponse [Status=Not Found, StatusCode=404]

I need to invoke a REST class exposed in my own developer edition org.   Its a GET Method, and when I test the endpoint using Workbench, I get the expected result. Now the problem is, I created a ...
user avatar
4 votes
1 answer
1k views

Any good solutions to disable remote site settings after Sandbox refresh?

Has anybody come up with any automated solution for disabling remote site settings after a sandbox is created or refreshed? I'm trying to prevent situations where someone creates a developer sandbox ...
user avatar
  • 288
4 votes
1 answer
2k views

Tooling API calls from Apex requires user to set up Remote Site Settings?

For a personal project, I'm trying to retrieve Validation Rules from objects to display them inside a Visualforce page. For this I'm using the excellent Tooling API wrapper from Andrew Fawcett, but ...
user avatar
  • 489
1 vote
0 answers
42 views

Show the remote site page(standard) on VF Page.I have used the metadata API for my page

I want to show the remote site setting creation page on a VF Page. So i used : <apex:outputLink onclick="window.open('https://ap4.salesforce.com/0rp/e?retURL=%2F0rp%3Fspl1%3D1%26setupid%...
user avatar
4 votes
4 answers
3k views

Image not displayed on Visualforce page rendered as PDF

I have an external image that I'm trying to render in a PDF. It works fine on the associated Visualforce page, but the PDF is a no go. I have authorized the external site that stores the photo in ...
user avatar
  • 257
0 votes
0 answers
377 views

Create connected app using metadata API

I have created managed package that uses metadata API to create connected App. It is working fine in my developer org where I am creating package. When I install this package in different org, It is ...
user avatar
3 votes
1 answer
335 views

How to handle different domains of Salesforce when building apps for managed package

I am building app for a managed package which is using metadata Api to setup page layout after installation of the package. And in order to do that, I have put https://v6.ap2.visual.force.com into ...
user avatar
  • 12.7k
2 votes
0 answers
623 views

HTTP post request is not leaving salesforce servers

In sandbox environment, immediately after the callout request I get a callout response "System.HttpResponse[Status=Forbidden, StatusCode=403]" even though I have already configured the domain in the ...
user avatar
0 votes
1 answer
1k views

Unauthorized endpoint error even though the remote site has been added

I'm getting the following error authenticating with the UN/PW oauth2 flow (I redacted the actual domain name): Unauthorized endpoint, please check Setup->Security->Remote site settings. ...
user avatar
  • 4,896
4 votes
2 answers
1k views

Retrieving Data from remote database

i am building a app which takes input from user and then search to a remote database(MySql).And then display the retrieved data on VisualForce page.One important note that my app will be distributable....
user avatar
  • 131
11 votes
1 answer
527 views

Adding remote site to managed package. Can we push to customers?

We will be adding a remote site to our existing managed package that currently does not have any. We have found some documentation on the effects of such an action but we have one remaining question. ...
user avatar
  • 917
1 vote
1 answer
161 views

Monitoring Salesforce instances of other people/companies and limitations of REST API / Tooling API

We want to develop an application that would monitor other companies/people Salesforce sandbox/production instances and produce notifications about some changes that happen there (user configures what ...
user avatar
6 votes
1 answer
1k views

Outbound message endpoint in remote site settings

We need to add the endpoint url in remote site settings to make http callouts from apex. But for outbound messages there is no need to add the endpoint in remote site settings. Can someone please help ...
user avatar
17 votes
4 answers
9k views

Query Remote Site Setting?

Can we get all remote site settings in apex ? I would like to check if a remote site setting exists or not.
user avatar
  • 430