retrofit too many followup 21

使用retrofit进行网络请求时, 报错too many followup 21,请问是什么原因

这是okhttp的问题
This gets thrown (by OkHttp, not Retrofit) when there are more than 20 redirects when calling an endpoint. Usually this indicates a redirect cycle between two endpoints. Both Chrome and Firefox will also stop loading the request after this many redirects and fail the request.

You need to consult with your server team or endpoint documentation to ensure you are passing the correct data directly to the endpoint you want to call. No action for Retrofit to take here.
重定向超过20次了,跟你的后台沟通解决吧。