I have checked the post:
I got the machine id using /odata/Machines
and I got the robot id using odata/Sessions/UiPath.Server.Configuration.OData.GetGlobalSessions?$expand=Robot($expand=License)
because odata/robots returns empty.
Moreover, I am using a local user account with all permissions assigned
Thank you for your reply, if I added the process key alone it works fine in classic folders. However, when using modern folders , I inspect my browser I have found more attributes than what I have found in the startJob documentation and I have tried to send the request using these attributes still no luck.
I think the problem might be related to the the local user I am using. since I’m not using a robot account. So should I use robot account instead or it does not matter?