0
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?

本番環境に外部クライアントアプリケーションを設定してcurlコマンドでアクセスしてみる

0
Last updated at Posted at 2026-07-14

sandboxではうまく機能しているので、同じ設定をすれば楽勝のハズでしたが...
1時間経過してもエラーですねぇ。何が違うのか、見た感じは同じなんですけど。

{"error":"invalid_grant","error_description":"no client credentials user enabled"}

grant_type=client_credentialsを間違ってpasswordにしていたのを変更すると、このエラー

invalid_grantrequest not supported on this domain

image.png

エンドポイントをマイドメインに変えたら、またエラーが元に戻った

invalid_grantno client credentials user enabled

残念ながら90分経っても分かりませんでした。Sandboxの設定では問題ないしなぁ。ギブアップですね

そういえば、設定したようなって思い出した。

ずっと、下書きのままだった...

ここにも設定がある

image.png

おおお、アクセストークンを取得できました。これでもう疲れたので帰ります。嫌になりますね。

<?xml version="1.0" encoding="UTF-8"?><OAuth><access_token>00
0
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
0
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?