-
Notifications
You must be signed in to change notification settings - Fork 664
[natural-language-understanding] undefined auth parameters throws error contrary to the docs #605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Investigating the section of the code responsible from fetching the credentials from the environment:
But as the error message hinted before, the I renamed the environment variables to |
I'm not sure if this is the place to discuss a higher level change, but it would be very good if the environment variables were prefixed with IBM or WATSON or whatever vendor specific token you prefer. This convention is respected by all major providers and makes configuring production environments much easier. |
+1 to use underscores, as the docs suggest, and not dashes. |
Thanks for pointing out this bug, I'll put out a patch soon to change the variable to be underscores |
@anweshan what's the status of this?. We probably want to fix this in the generator. |
I talked to @anweshan, we are going to fix it manually and update the sdk generation wiki. |
Code:
Expected behavior:
As specified in the docs and in the examples, it should pick up auth credentials from the environment.
Actual behavior:
Setup:
The text was updated successfully, but these errors were encountered: