salesforce-marketingcloud / FuelSDK-Python

FuelSDK for python
Other
126 stars 194 forks source link

Getting Internal Server Error on Simple Request #109

Closed bdgp1990 closed 5 years ago

bdgp1990 commented 5 years ago

Hi there,

Im trying to use a simple request with Python3 and Im 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?

bdgp1990 commented 5 years ago

Missed to change the custom SOAP URLs in Administration