Python and LRE API Run Test Endpoint VSCODE

Hi all

Working the the LRE Rest API and I'm facing some difficulties.

Here is the sample code in VSCODE

headers = {'Content-type': 'application/json'}
data = {"DurationInMinutes":50,"IsUseVuds":False,"VudsAmount":0,"IsNewReservationMode":True,"PostRunAction":0,"TestInstanceId":1653,"ReservationId":-1}

response = s.post(url, data=json.dumps(data), headers=headers)
response is duration is not in the range of 30 minutes to 480 hours
Side note, this call works fine when being called from Postman