We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

PHP API: DeleteHeadersFootersRequest with headers_footers_types not working

The Aspose test file: aspose-cloud/aspose-words-cloud/tests/Aspose/Words/HeaderFooterTests.php
seems to suggest that header_footer_type is a string matching the values found here:

for example:

        $request = new InsertHeaderFooterOnlineRequest(

However when I use these values in a DeleteHeadersFootersRequest

new DeleteHeadersFootersRequest(
    headers_footers_types: "FooterEven",

I always get the exception:

Operation Failed. The input data is not valid
Message: FooterEven is unknown value

I’ve also tried using an array as well as numeric values:

headers_footers_types: ["FooterEven"]
headers_footers_types: [2]

But they all result in the same exception.


I am testing the issue and will share my findings with you shortly.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSCLOUD-2364

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.