Good morning. I’m getting deeper into APIs, and I’m setting up my workspace. I’m getting the following error when running GET List Transforms:
There was an error in evaluating the Pre-request Script:Error: Unexpected token u in JSON at position 0
Good morning. I’m getting deeper into APIs, and I’m setting up my workspace. I’m getting the following error when running GET List Transforms:
There was an error in evaluating the Pre-request Script:Error: Unexpected token u in JSON at position 0
Can you paste your Pre-request script by masking sensitive data if any, So that we can see if there is any issue in it.
Thanks
Krish
It’s the Postman pre-request script built by sailpoint.
@suportetiinfra2 you need to have an environment setup with the below variables before you can make calls.
tenant
clientId
clientSecret
tokenExpTime
accessToken
domain
(domain is optional for most people. I have it in mine because as a partner, we have a lab that uses the domain identitynow-demo.com.)
I am getting the same error. I can get a token but any api I call is now showing this. I had to reset Postman because of a new PC and it is running local not web. My environment is setup
Good morning.
These variables are configured. I was normally using postman, and it simply started displaying this error.
Adam is correct. This error message is related to an improper Postman environment configuration. Please make sure you have all of the required env variables setup, per this doc.
Here is another thread discussing the same issue.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.