Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The error like “INVALID_TYPE: sObject type 'tnw_mage_basic__Magento_Website__c' is not supported.“ could happens by the different reasons:

  1. You need to update WSDL file and upload a new file version to the Magento

  2. You need to refresh your Magento storage cache

  3. This is the Salesforce issue temporary problem

Instructions

  1. Generate new Enterprise WSDL file in your Salesforce org and upload it to the Magento

    1. https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_steps_generate_wsdl.htm

    2. Paid Package

  2. If it not helps - refresh your Magento and Magento storage cache

    1. https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-cache.html

  3. If it does not help the problem could be related to some temporary Salesforce issue, you can wait a few hours. As workaround, you can make the following temporary fix:

    1. Open your Enterprise WSDL file in any text editor

    2. Find the “Soap Service Endpoint“ section at the bottom of this file, it should look like this:

          <!-- Soap Service Endpoint -->
          <service name="SforceService">
              <documentation>Sforce SOAP API</documentation>
              <port binding="tns:SoapBinding" name="Soap">
                  <soap:address location="https://login.salesforce.com/services/Soap/c/46.0/0DF1p0000007EGj"/>
              </port>
          </service>

 

c. You need to modify the URL after the “location=“ string and remove the last “/“ symbol and string after it. In my case, it’s “/0DF1p0000007EGj

Your wsdl file could contain a bit different URL!

d. The result should be:

    <!-- Soap Service Endpoint -->
    <service name="SforceService">
        <documentation>Sforce SOAP API</documentation>
        <port binding="tns:SoapBinding" name="Soap">
            <soap:address location="https://login.salesforce.com/services/Soap/c/46.0"/>
        </port>
    </service>

  • No labels