I receive this error message when trying to use the addObjects() function to push some data to a new account.
Here is my code:
<?php
require 'vendor/autoload.php';
// Create the Algolia Search Client and add the objects to the summitpost_pages index
$client = new \AlgoliaSearch\Client('myAppID', 'myAdminAPIKey');
$index = $client->initIndex('summipost_pages');
$actors = [
['name'=>'Tom Cruise', 'rating'=>1200],
['name'=>'Lucy Liu', 'rating'=>1299]
];
$index->addObjects($actors);
Results is: PHP Fatal error: Uncaught AlgoliaSearch\AlgoliaException: The endpoint isn't allowed on places in vendor/algolia/algoliasearch-client-php/src/AlgoliaSearch/Client.php:1371
Interestingly, I see the same message in my account on the Infrastructure tab. See the attached image.
I see the same message in my account here
What am I doing wrong?