Getting Policy sync failed with status code 503 while integrating mip sdk on Android

864 Views Asked by At

I am working on integrating mip sdk version 1.6 as per latest release document on Android. I am able to get access token but when provided to initialize policy engine, it throws below error.

Failed API call: profile_add_engine_async Failed with: [NetworkError: 'Policy sync failed, NetworkError.Category=Throttled, HttpRequest.SanitizedUrl=https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies, HttpRequest.Id={EC1D0F76-3A38-4F8A-AAC6-TB9059W1B9AM}, HttpResponse.StatusCode=503, CorrelationId=a9381643-2n1r-4q66-933j-77848ca3e15a, CorrelationId.Description=PolicyProfile']

Appreciate any help.

2

There are 2 best solutions below

1
Tom Moser On

Try again and it should work :) The network error indicated you were throttled for some reason. It should be only temporary.

0
Ashish Kshirsagar On

It started working after migrating AIP labels to unified labels as mentioned in this link. The returned error code does not provide any information about failure of this type.

I am still trying to understand how the step is mandatory. As per the description in link, AIP should be supported till 03/31/2021 .