“No rows were found” on “Automation” SOAP RetrieveRequest

I am trying to retrieve automation object by following this guide


I received an innerException in results. ErrorMessage: “No rows were found”

 // Create RetrieveRequest
            etAPI.RetrieveRequest rr = new etAPI.RetrieveRequest();
            rr.ObjectType = "Automation";

            rr.Properties = new string[] { "ProgramID", "Name", "CustomerKey" };

            etAPI.SimpleFilterPart filter = new etAPI.SimpleFilterPart();
            filter.Property = "CustomerKey";
            filter.SimpleOperator = etAPI.SimpleOperators.equals;
            filter.Value = new string[] { "MY AUTOMATION CUSTOMER KEY" };
            rr.Filter = filter;

I also read this post, about using ProgramID, have a simple filter in the request.

Object Reference Error on “Automation” RetrieveRequest

I’ve also tried using different filter value: Status = 1, or IsActive = true, Name = “blah” with no luck, any one has any ideas please?

The API username I am using has permission to access AutomationStudio

Permission setting


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

It appears that Automation is not retrievable via SOAP API. I need to change it to “Program” and send raw XML request to endpoint.

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x