Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is OPTIONS request forbidden in Azure Search Basic?

We have an issue with Azure Search Basic instances. tl;dr; is that OPTIONS pre-flight CORS request from browser gets a 403 FORBIDDEN in Search Basic.

We resolved this by temporarily going to a Standard instance.

We tried to create a Free service to test and develop a Search service for an Angular website, and we did so successfully. When we tried to upload the whole data set, it exceeded the quota, so we switched to a Basic tier.

We updated the domain and key for the search, but it started to reply 403 when it was reached with the OPTIONS request, given that it is cross-domain. CORS was properly configured, but we even set it to allow all origins and the result was the same.

If accessed directly via postman, the GET requests were correctly addressed. OPTIONS however returned 403.

We were trying to hotfix an issue, so we spun up an instance of Standard and to our surprise it worked again with the whole data set. We created three Basic instances while trying to test this in US EAST and all of them resulted in the same response.

Is this disabled due to being preview?

like image 527
elpaquete Avatar asked Dec 17 '25 11:12

elpaquete


1 Answers

This is expected to work. It was a bug and the fix is now in production. Sorry for the trouble!

like image 145
Eugene Shvets Avatar answered Dec 20 '25 19:12

Eugene Shvets



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!