1800.
OAuth Error 1800 - There was a problem in setting up your remote access
- OAuth Error. 1800.
- There was a problem in setting up your remote access This error will occur if the Identity Provider is mis-encoding or truncating the RelayState value in the SAML request resulting in the source value being lost.
- This source value identifies which of our mobile applications you are going to connect to and get an OAuth Access token. Make sure that the SAML response back to Salesforce is exactly as provided by Salesforce in the initial request.
- OAuth エラー。1800.
- リモートアクセスの設定に問題があります。このエラーは、ID プロバイダが SAML リクエストで RelayState の値のエンコーディングに失敗したか一部を切り捨てたためにソースの値が失われた場合に発生します。
- このソースの値は、どのモバイルアプリケーションに接続しようとしているのかを特定し、OAuth アクセストークンを取得します。Salesforce に戻る SAML 応答が、最初のリクエストで Salesforce から提供されたものと完全に同じになるようにしてください。
1832
we had same issue. Resolved by adding 'Manage user data via APIs (api)' to the 'Selected OAuth Scopes' in the connected app
私たちも同じ問題を抱えていました。接続アプリの「選択されたOAuthスコープ」に「API経由でユーザーデータを管理(api)」を追加することで解決しました。
OAUTH_APPROVAL_ERROR_GENERIC
OAUTH_APPROVAL_ERROR_GENERIC IN SALESFORCE 1
ErrorCode=No_Oauth_Token&ErrorDescription=invalid_grant
Going to connected apps in Salesforce and changing 'permitted users' from 'Admin approved users are pre-authorized' to 'All users may self-authorize'
Please refer below link step 9 which worked for others it may help you.
http://stackoverflow.com/questions/12794302/salesforce-authentication-failing
設定関係
{"error":"invalid_grant","error_description":"user hasn't approved this consumer"}
Just now it worked I just changed the Auth token url to
https:///services/0auth2/token
earlier I was using standard url
https://login.salesforce.com/services/oauth2/token'
for access token.
{"error":"invalid_grant","error_description":"authentication failure"}" - on grant type password
$params = [
'grant_type' => 'password',
'client_id' => $this->client_id,
'client_secret' => $this->client_secret,
'username' => $username,
'password' => $password . $security_token];
$ch = curl_init('https:xxxxxxxxxxxxxxxxxxxxxxxxx/services/oauth2/token');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/x-www-form-urlencoded']);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
参考になる
このユーザのログイン履歴を見てエラーの内容を確認してみてください。
信頼済みのIPアドレスを設定していればトークンは不要だと思いますが、この設定も確認してみてください。
セキュリティトークンを使用せずにデータローダにログインをする場合には、接続元の IP アドレスを許可します。詳細については次のヘルプドキュメントを参照してください。
組織の信頼済み IP 範囲の設定
https://help.salesforce.com/s/articleView?id=sf.security_networkaccess.htm&type=5&language=ja
「ログイン履歴に API セキュリティトークンが必要です」の表示が出る場合の対処方法
https://help.salesforce.com/s/articleView?id=000386167&type=1
