if your saved search works, then the search.load s...
# suitescript
c
if your saved search works, then the search.load should too.. typically unexpected error is a dumb mistake you did elsewhere like syntax error or just a typo
s
Copy code
var mySearch = search.load({
      id: 'customsearch_get_web_serv_log'
});
id is the id of the search
not sure what could be different there. unless permissions come into play, but I've given my integratino role all of the permissions I could think of
Think I may give up on this one lol
s
try the numeric id instead
s
@stalbert I did. It failed. Are you able to create a saved search for this type and load it in code?
s
what type is it?
s
Web Services Operations
my goal is to get all of the responses and email any errors