microsoft / microsoft/PowerPlatformConnectors

OpenAI (Independent Publisher) issue

Open
#2,470 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.3k
Forks
1.5k
Avg merge
5d 15h
Merged PRs (30d)
11

Description

Api Name - shared_openaiip

Bug description - I am using correct API Key and in the prescribed format as "Bearer API_Key". But I am receiving the error Unauthorized with the below log

You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.

Is this a security bug? (Y/N) N

What is the severity of this bug? High
OpenAIError

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the shared_openaiip connector named in the report and read the existing issue discussion, then reproduce the request using the reported Bearer API key format. Done means the connector authenticates successfully and no longer returns the missing API key error.

Written by the indexing model from the issue text.

Assessment

Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.