MauriceConrad/iCloud-API

Failed to parse - 502 Bad Gateway

calvintwr opened this issue · 0 comments

Seems like Apple will ban requests for iCloud contacts, causing a 502 error?

I get a JSON parse failure when making requests via #Contacts.list. When I print the response received, I get

<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>Apple</center>\r\n</body>\r\n</html>\r\n"

I am able to continue using the service with another server or when I run it on my own computer.