I have integrated my iOS application with the Google Drive iOS API. But while downloading files, it throws the following error:
An error occurred: Error Domain=NSURLErrorDomain Code=-1007 "too many HTTP redirects"
Is there any solution for this?
I have integrated my iOS application with the Google Drive iOS API. But while downloading files, it throws the following error:
An error occurred: Error Domain=NSURLErrorDomain Code=-1007 "too many HTTP redirects"
Is there any solution for this?
This could be due to a problem either in the Mac's networking code or in the servers. Having an http log of the problem as it occurs would likely be very helpful to diagnosing what's actually going wrong. Check this forum. It can be a connection issue between an app and its back end.
You can also check this blog on how to fix “too many HTTP redirects” error.
- Force the App Store app to close. To to this, click the Home button twice, tap and hold on the App Store app icon and when it starts to jiggle, tap the (-) to close it.
- Open Settings > iTunes & App Stores and tap your account name > View Apple ID > Enter your Apple ID password and Tap done. Quit Settings and try opening the App Store again.
- Restart your iOS device
- Reset your device (iPad, iPhone or iPod touch) by holding the home button and the sleep/wake button at the same time for about 10 seconds until you see the Apple logo and then turning turn back on.
Hope this helps!