1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Postman : Salesforceで使う設定2(接続アプリケーション)

1
Last updated at Posted at 2025-12-24

の続きです。 直接URLを指定して接続してみました。
やっぱり同じエラーですね。

image.png

error_description": "ip restricted"

Postmanを使うと、IPアドレスが変わるのかと思ったけど、そんなことは無いようねぇ

ブラウザまたはデスクトップエージェントでPostman Webアプリを使用すると、リクエストをローカルに送信できます。リクエストの送信に使用されるIPアドレスは、社内ネットワーク設定のIPアドレスです。IPアドレス範囲については、IT部門またはネットワーク部門にお問い合わせください。

grant typeをpasswordに変えてみる

authentication failure

そういえば、IPの制限にしていたな

接続アプリケーションの管理で「IP制限を緩和」に設定されている
->passwordの末尾にセキュリティトークンが付与されていないことを確認。IP制限を緩和の場合はセキュリティトークンは不要

IP制限を緩和にしたら、機能しましたね。

image.png

アクセストークンも取得できて機能しました。

image.png

しかしclient_credentialsの接続のエラーは全くお手上げです。

ip restrictedって、何が問題なのかは理解できませんでした。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?