I get the 403 error when try to use search_api_autocomplete instead of suggestions. I get it only on the latest dev version. Not the "beta" one.

The reason is that autocomplete path is a bit incorrect. I get %20 (a whitespace) and the end of URI whe it's not needed.

Patch that fixes it:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vikramy’s picture

Status: Active » Reviewed & tested by the community

I agree and the above patch fixes this issue.

vikramy’s picture

Trying to follow this naming convention. Thanks Soul88.

[module_name]-[short-description]-[issue-number]-[comment-number].patch

drunken monkey’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
1.41 KB

Thanks for reporting this problem and providing a patch!

However, we cannot fix it this way, as that's what caused #1708242: Autocomplete blows up if you don't set fields to search within your views fulltext filter. If the fix for that issue leads to this problem, we'll have to find another way …
Maybe using a single dash instead of a space? Please test the attached patch!

vikramy’s picture

Status: Needs review » Reviewed & tested by the community

Yes, this works great. Thank you.

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for testing!
Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.