Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Error 500: Invalid Metadata or Data When Using Legacy Named Credentials for Snowflake Connection in CRM Analytics

게시 일자: Oct 8, 2026
상세 설명

When you use Legacy Named Credentials to establish a Snowflake input connection in CRM Analytics, the connection fails with an HTTP 500 error. The error message states that the Named Credential must be authenticated and use the Identity Type "Named Principal".

Example error:

`Something went wrong while executing the remoteSync_TEST__C node: WCA Invalid metadata or data: 'TEST__C' [error category: USER]: WCA Error. Received http '500'. {"errorMsg":"Please make sure Named Credential [NCSnowflakeTest] is authenticated and set Identity Type as Named Principle"} (02Kxxxxxxxxxxxx_03Cxxxxxxxxxxxx_xxx)`
솔루션

This article explains how to resolve the HTTP 500 "Invalid metadata or data" error that occurs when a CRM Analytics Snowflake connection uses a Legacy Named Credential. Legacy Named Credentials are not supported for this connection, so replace the credential with a non-legacy Named Credential.

Step 1: Use a Non-Legacy Named Credential

  • As outlined in the Salesforce documentation, legacy Named Credentials are no longer updated or enhanced.
  • Configure a non-legacy Named Credential for Snowflake connections.

Step 2: Configure the Snowflake Settings

  • Follow the steps in the Snowflake connector setup guide to create and configure the new Named Credential.
  • Verify that the Named Credential shows the status Authenticated.

Step 3: Assign Access to Profiles or Permission Sets

Ensure that the External Credential (for example, Snowflake) is assigned to the appropriate profile or permission set.

Step 4: Re-Test the Connection

After granting the required access, retry the Snowflake connection in CRM Analytics.

Step 5: Validate the Named Credential Callout

If the connection still fails, validate the connection using Postman, or use a SQL client such as DBeaver to verify the Snowflake connection. DBeaver is a third-party tool, and some customer environments do not allow its installation because of internal security policies.

In that case, open the Salesforce Developer Console and execute the following anonymous Apex script. The script sends a GET request to the Snowflake endpoint using the callout syntax, and the response body indicates whether the Named Credential is correctly authenticated.

`HttpRequest req = new HttpRequest();
req.setEndpoint('callout:Snowflake'); // Snowflake
req.setMethod('GET');
req.setHeader('Accept','application/json');
HTTPResponse res = new Http().send(req);
System.debug(res.getBody());`


Developer Console Apex script   
     Postman validation  
     

추가 자원

The issue is not related to CRM Analytics. The endpoint in the concerned API does not belong to Salesforce. We kindly request that you reach out to the external provider (e.g., Snowflake) for further support, as the API has been developed and maintained by their team. They will be the best point of contact to explain why the request is failing.

If the issue is found to be related to CRM Analytics or the Salesforce side, we will investigate it further.

 

Knowledge 기사 번호

005132454

 
로드 중
Salesforce Help | Article