Docs

Integrations Articles & FAQ

invalid, Domain, error, SF, salesforce, remote, site, proxy, tunnel

40920472

2022-03-28T10:55:11Z

2025-02-12T08:23:50Z

380

0

0

253947

Connection Error for Salesforce - Invalid domain error

Connection Error for Salesforce - Invalid domain error 

Scope

Invalid domain! Unauthorized endpoint, please check Setup -> Security -> Remote site setting.

Invalid domain! Unable to tunnel through proxy.

This article covers the connection steps and errors to Salesforce org

Solution:

This error happens once we try to connect Salesforce with the Chargebee account. While entering the domain ID (site/domain name) and there is some issue with the connection the errors might pop up.

  • Chargebee Domain ID: provide the Chargebee site name in the format “xyz-test.chargebee.com”.

  • API key: Provide API key from the CB site» API keys for the site that is to be connected.

Possible Reasons:

Option 1. Invalid domain! Unauthorized endpoint, please check Setup -> Security -> Remote site setting.

If you face this error, then you need to allow your Chargebee site in Salesforce.

Option 2: Invalid domain! Unable to tunnel through proxy or any other like error even after adding remote site settings

Fix:

Check if the Chargebee domain ID has “.chargebee.com” appended to the domain ID.

Related Articles 

Custom field mapping in Salesforce
Why deals are being automatically closed won in Salesforce?
Salesforce - Subscription ID not being passed to the opportunity page
Is it possible for Salesforce to use read-only API key for syncronization?
Contract terms are enabled in Chargebee but they are not visible on CB subscription - Salesforce
How to create/update subscription using Salesforce Flow Builder?
How can I add CB quotes as a tab in Salesforce?
Subscription creation on renewal opportunity
Sync Rule for Opportunities in Salesforce: Allow Chargebee to update the opportunity products in Salesforce with subscription's products in Chargebee setting
Salesforce- populate Customer.Billing_Address.Company
Business Entity is not showing up for selection in Chargebee Settings of Salesforce
Salesforce plugin for Chargebee - Installation Guide
Salesforce plugin for Chargebee - User Guide
What data is synchronized from Chargebee to MailChimp?
What is SKU Level Commission?
What does Chargebee + Moxtra do?
Are refunds passed back to Refersion when they take place in Chargebee?
Where can I find documentation about Chargebee Zapier integration?
Setting up the integration in Refersion
Will Chargebee create duplicate records in Intercom?
How to integrate Zendesk with Chargebee?
How to integrate ActiveCampaign with Chargebee?
What are the prerequisites for Salesforce integration?
Salesforce Error - Chargebee site linked with the account is different from Pricebook’s Chargebee site
What are the prerequisites for address validation in Avalara integration?
Why sales tax is still being charged in spite of Customer Tax Exemption using Avalara integration?
Hubspot - Customer not synced error
How to sync additional fields from new HubSpot → Chargebee?
HubSpot Company → Chargebee Customer - New hubspot integration
Integrating Chargebee with Tapfiliate
"Access Denied: OP_UPSERT on chargebeeapps__CB_Subscription__c" - SalesForce error
Enabling Avalara as your Mode of Tax Calculation for EU region
Was this article helpful?
Loading…