Skip to content

Commit 2e31ded

Browse files
committed
update
1 parent 001b569 commit 2e31ded

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/ai-services/openai/includes/javascript.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ main().catch((err) => {
135135
module.exports = { main };
136136
```
137137

138+
> [!NOTE]
139+
> If your receive the error: *Error occurred: OpenAIError: The `apiKey` and `azureADTokenProvider` arguments are mutually exclusive; only one can be passed at a time.* You may need to remove a pre-existing environment variable for the API key from your system. Even though the Microsoft Entra ID code sample is not explicitly referencing the API key environment variable, if one is present on the system executing this sample, this error will still be generated.
138140
139141
> [!div class="nextstepaction"]
140142
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Create-application)

0 commit comments

Comments
 (0)