카테고리 없음

System.CalloutException: OAuth 토큰을 가져올 수 없습니다. 오류: invalid_grant. 오류 설명: request not supported on this domain.

리보리 2025. 11. 18. 16:14

발생경위: apex에서 Named Credentials 사용하여 Data 360 Connect REST API 사용시 발생

원인: 외부자격증명의 ID 공급자 URL을 https://login.salesforce.com/services/oauth2/token 로 설정

해결: my domain으로 변경

my domain + /services/oauth2/token