Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

MacOS&FaceAPI:azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent.

オープン
#346 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
azure, python

調査の方向性

リポジトリのファイルもテストも指定されていません。まず、報告された URL とパラメーターを使って face_client.face.detect_with_url(...) で Quickstart のリクエストを再現し、その後、リクエストと API のレスポンスを Face API のドキュメントと比較してください。完了条件は、InvalidRequest の原因を特定し、対応する修正を Quickstart に記録するか適用することです。

索引モデルが issue の本文から書いたものです。

説明

I am trying to run the Azure Cognitive Services Face API Quickstart code using the GitHub code provided by Microsoft. However, I am running into an error while running the code. Specifically, the error occurs in the following line of code:

detected_faces = face_client.face.detect_with_url(url=single_face_image_url, detection_model='detection_03')

The error message that I am getting is as follows:

azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent.

I have checked my API key and endpoint, and they are correct. I have also checked the request parameters and format, and they seem to be correct as well.

Can someone please help me understand what could be causing this error, and how to fix it?

主要言語
Jupyter Notebook
スター
388
フォーク
556
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure-Samples/cognitive-services-quickstart-code のほかの issue

Azure-Samples/cognitive-services-quickstart-code の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。