Hi Matthew,
The error doesn’t seem to mention a specific key - I guess that information could have been lost in aggregating the results of index creation.
If you set LCB_LOGLEVEL=5 in your environment variables and, just prior to your index call, add:
couchbase.enable_logging()
Do you get any more information?
Thanks,
Ellis