My Oracle Support Banner

P6 Web Service ImportProjectAsyncASAP Operation Fails With Error "Invalid UTF-8 Start Byte 0x8b (At Char #2, Byte #-1)" When Using GZIP or ZIP (Doc ID 2548904.1)

Last updated on SEPTEMBER 09, 2019

Applies to:

Primavera Web Services - Version 17.7 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 17.1 and later
Information in this document applies to any platform.


When attempting to create a ImportProjectAsyncASAP request XML format works as expected, but when using GZIP and ZIP, the following error occurs.

Invalid UTF-8 start byte 0x8b (at char #2, byte #-1)

The issue can be reproduced at will with the following steps:
1. Export a project as type GZIP
2. Create a ImportProjectAsyncASAP request. For example:
        <!--1 or more repetitions:-->
           <v1:ImportOption>Create New</v1:ImportOption>
        <v1:PreImportCustomizationTemplateName>Default Import Template</v1:PreImportCustomizationTemplateName>

3. Request fails with the error
4. Change FileType to XML and upload and XML file instead of GZIP and the same request will succeed. Same issue occurs with ZIP




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.