Currently error like having the wrong key produces com.swiftype.appsearch.ClientException, but the message is somewhat incomplete:
exception.getMessage
=> "Error: 401"
This also happens during indexing, if a bulk request exceeds 100 elements, the exception message will only say "Error 400", while if we browse through the engine's api log we can see the full error.
Is this shorter error message by design?