Problem/Motivation
Having followed the README in the module, when trying to index, I get a 412 Precondition Failed error.
Client error: "PUT https://api.cloud.coveo.com/push/v1/organizations/{orgID}/sources//documents/batch?fileId=aad00498-2432-44b9-a611-2d0ead1827fc" resulted in a "412 Precondition Failed" response
Steps to reproduce
1. Follow the steps in the README
2. try to index content
Under Create a Coveo server instances in Search API, it mentions two fields:
"Push API Key"
"Search API Key"
However, the form only has one field: "Query/Search API Key"
Proposed resolution
update documentation
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
malcomio commentedThis was happening because I hadn't configured the Source ID for the organization - after adding that, I was able to index content.
The documentation should be updated to explain about adding an organization in Drupal.
Comment #4
malcomio commentedComment #6
neclimdulI see, organization is required but SourceID isn't required on the organization. That's sort of by design since you might be using the organization only for atomic or something and not pushing Documentation looks good and I'll look at improving the UI to filter the select list or provide some warnings about invalid states.
Comment #8
neclimdul