Closed bdgp1990 closed 5 years ago
Hi there,
Im trying to use a simple request with Python3 and Im getting the error below.
m trying to use a simple request with Python3 and I
Lines: debug = False stubObj = ET_Client.ET_Client(False, debug) print('>>> Retrieve All Folder with GetMoreResults') getFolder = ET_Client.ET_Folder() getFolder.auth_stub = stubObj getFolder.props = ["ID", "Client.ID", "ParentFolder.ID", "ParentFolder.CustomerKey", "ParentFolder.ObjectID", "ParentFolder.Name", "ParentFolder.Description", "ParentFolder.ContentType", "ParentFolder.IsActive", "ParentFolder.IsEditable", "ParentFolder.AllowChildren", "Name", "Description", "ContentType", "IsActive", "IsEditable", "AllowChildren", "CreatedDate", "ModifiedDate", "Client.ModifiedBy", "ObjectID", "CustomerKey", "Client.EnterpriseID", "Client.CreatedBy"] getResponse = getFolder.get() print('Retrieve Status: ' + str(getResponse.status)) print('Code: ' + str(getResponse.code)) print('Message: ' + str(getResponse.message)) print('MoreResults: ' + str(getResponse.more_results)) print('Results Length: ' + str(len(getResponse.results)))
Error:
Retrieve Status: False Code: HTTPStatus.INTERNAL_SERVER_ERROR Message: None MoreResults: False Results Length: 0
Can someone help me?
Missed to change the custom SOAP URLs in Administration
Hi there,
I
m trying to use a simple request with Python3 and I
m getting the error below.Lines: debug = False stubObj = ET_Client.ET_Client(False, debug) print('>>> Retrieve All Folder with GetMoreResults') getFolder = ET_Client.ET_Folder() getFolder.auth_stub = stubObj getFolder.props = ["ID", "Client.ID", "ParentFolder.ID", "ParentFolder.CustomerKey", "ParentFolder.ObjectID", "ParentFolder.Name", "ParentFolder.Description", "ParentFolder.ContentType", "ParentFolder.IsActive", "ParentFolder.IsEditable", "ParentFolder.AllowChildren", "Name", "Description", "ContentType", "IsActive", "IsEditable", "AllowChildren", "CreatedDate", "ModifiedDate", "Client.ModifiedBy", "ObjectID", "CustomerKey", "Client.EnterpriseID", "Client.CreatedBy"]
getResponse = getFolder.get() print('Retrieve Status: ' + str(getResponse.status)) print('Code: ' + str(getResponse.code)) print('Message: ' + str(getResponse.message)) print('MoreResults: ' + str(getResponse.more_results)) print('Results Length: ' + str(len(getResponse.results)))
Error:
Retrieve Status: False Code: HTTPStatus.INTERNAL_SERVER_ERROR Message: None MoreResults: False Results Length: 0
Can someone help me?