Schema error on using Symantec VIP API for deleteuser when RequestID is greater than 40 characters
search cancel

Schema error on using Symantec VIP API for deleteuser when RequestID is greater than 40 characters

book

Article ID: 235215

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

The solution provided worked at the time but no longer works with exactly the same python script I had used successfully before..  I am now getting a schema error

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:vip="https://schemas.symantec.com/vip/2011/04/vipuserservices">
    <soapenv:Header/>
        <soapenv:Body>
            <vip:DeleteUserRequest>
                <vip:requestId>deleteuserST20210203120913326150220221417</vip:requestId>
                <vip:userId>User1</vip:userId>
            </vip:DeleteUserRequest>
        </soapenv:Body>
    </soapenv:Envelope>

<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><DeleteUserResponse xmlns="https://schemas.symantec.com/vip/2011/04/vipuserservices"><requestId>deleteuserST2021020312091332615022022141</requestId><status>600B</status><statusMessage>Schema validation failed. (Error encountered during schema validation.)</statusMessage></DeleteUserResponse></S:Body></S:Envelope>

Environment

Release :1.0

Component :VIP Service

Cause

The RequestID parameter should be between 4 and 40 characters, anything above or below will result into the error.

Resolution

RequestID parameter length can be in between 4 and 40 characters. The requestID in sample above is above 40 characters so it is resulting in error, please make sure it is between the 4 and 40 characters.