StartJobs api call error code 1010 meaning

hi,

what does error code 1010 on odata/Jobs/UiPath.Server.Configuration.OData.StartJobs mean?

Call works on my local machine, but not on my AWS server instance. So the headers + body provided should be correct.

“error code 1010” is the body string I receive. nothing more apparently.

issue is related to user agent… I had to provide some user agent, now it works.

Thanks for posting, could you elaborate more on what you did to fix this issue? I am currently running into the same problem and your post is all I can find with error code 1010 on a startJobs API request.

Nevermind, I fixed it.

Wherever you are sending the API call from, literally add the “user-agent” header to the request. Here is what mine looks like in Java:

headers.add(“user-agent”, “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36”);