用户 API 密钥:重复的 client_id 会导致内部服务器错误

The error should be better, yes, but client_id needs to be unique.

When you are sending users that way you must generate a unique id in your API call. The index is correct, 1 user may have N client ids.