When I call this function (impersonating a user) using the “run” button on Atlas Function editor I get the expect response, a project name for the given Id.
When I call this function via Postman passing the user authentication in headers I get this error:
Just a few questions i’m hoping you can provide some details for:
What is the authentication setting for the function? (Application Auth, System, User Id, Script)
I’m trying to replicate this behaviour by calling the function using postman on my test environment. I have replicated a similar function that returns a single document. Just to clarify, have you created a HTTPS Endpoint which is linked to the function? If you can provide details on how you’re calling the function via postman to help reproduce this error, that would be good in identifying if the behaviour is expected or not.