当我尝试在Android中执行跟进操作时,我会收到以下错误。我错过了什么吗?
Feed otherTimeline = streamClient.newFeed("Feed", "user1");
otherTimeline.follow("Feed", "user2");
这里我想让user1跟随user2
InvalidOrMissingInputException{statusCode=400, code=4, exception=InputException, detail=Errors for fields 'target'}
at io.getstream.client.okhttp.repo.handlers.StreamExceptionHandler.handleResponseCode(StreamExceptionHandler.java:42)
at io.getstream.client.okhttp.repo.StreamRepositoryImpl.handleResponseCode(StreamRepositoryImpl.java:223)
at io.getstream.client.okhttp.repo.StreamRepositoryImpl.fireAndForget(StreamRepositoryImpl.java:219)
at io.getstream.client.okhttp.repo.StreamRepositoryImpl.follow(StreamRepositoryImpl.java:101)
at io.getstream.client.model.feeds.BaseFeed.follow(BaseFeed.java:53)
at com.ibtspl.startup.fragment.StreamChatFragment$FollowFeed.doInBackground(StreamChatFragment.java:112)
at com.ibtspl.startup.fragment.StreamChatFragment$FollowFeed.doInBackground(StreamChatFragment.java:106)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)