I'm trying to read out some resource information from the REST API in a GEL Script, and I'm getting a 401 (unauthorized) error. I can log into PPM with my Integration User and get a response from the REST URL (https://cppm-nnnn.ondemand.ca.com/ppm/rest/v1/resources/5005400 ). I can get a response back when I hit /auth/login, but when I try to access the REST through a GEL script, I get the 401 error. I can run the script with my own credentials and get the correct response, but of course ideally I want the integration user to be able to run it.
Anyone have any clues what I'm missing? I'm guessing it's a security right somewhere, but I've given the integration user all of the ones I can think of.
Many thanks in advance, and Merry Christmas to all.