Skip to content
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

FilePicker bingAPIKey not working #489

Closed
shaipetel opened this issue Feb 24, 2020 · 2 comments
Closed

FilePicker bingAPIKey not working #489

shaipetel opened this issue Feb 24, 2020 · 2 comments
Labels
status:fixed Issue fixed in current or prior release. type:bug
Milestone

Comments

@shaipetel
Copy link

Category

[x] Bug

Version

Please specify what version of the library you are using: [ 1.16.0 ]

Expected / Desired Behavior / Question

Specified bingAPIKey, expected to be able to go to search search for images

Observed Behavior

After specifying the API key I get an error message in the console when trying to search in the picker.
it makes a call to bingapis.com and gives a 401 error, followed by this error:
[BingFilesService.executeSearch]: Err='Something went wrong when executing search query. Status='undefined''

I cannot seem to find a place to set my bing API endpoint. I created an API key using my azure tenant and got a key + endpoint, but this control only expects a key.

Steps to Reproduce

Use this control, set the bing api key from one generated using azure.
Set only the key, as there is no way to set the endpoint.
try to use the search in the picker.

@ghost
Copy link

ghost commented Feb 24, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Feb 24, 2020
AJIXuMuK added a commit that referenced this issue Mar 7, 2020
@AJIXuMuK
Copy link
Collaborator

AJIXuMuK commented Mar 7, 2020

Hi @shaipetel!
Thanks for reporting this one.
I've done the fix. It is available in beta version and will be included in the next drop

@AJIXuMuK AJIXuMuK added status:fixed Issue fixed in current or prior release. type:bug and removed Needs: Triage 🔍 labels Mar 7, 2020
@AJIXuMuK AJIXuMuK added this to the 1.17.0 milestone Mar 7, 2020
@estruyf estruyf closed this as completed Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed Issue fixed in current or prior release. type:bug
Projects
None yet
Development

No branches or pull requests

3 participants