APNS2 Exception: TooManyProviderTokenUpdates
问题 def process_notification(message): apns = apnsClient apns_response = None try: stream_id = apns.send_notification_async(device_token, apns_payload, target_app) apns_response = apns.get_notification_result(stream_id) except e: logging.error(f"APNS server error occurred.Reason: {apns_response}") if __name__ == '__main__': # To use token based authentication auth_key_path = 'AuthKey.p8' auth_file = os.path.join(sys.path[0], auth_key_path) auth_key_id = '************' team_id = '********' token