Postman Troubleshooting Guide

3min

Resolving Unresolved Variables

If you have variables in your Postman requests that are showing as unresolved, follow these steps:

  1. Make sure the variable is defined in the OS1 APIs environment.
  2. Check that the variable name matches exactly, including case, to where it is used.
  3. Verify the variable is not overwritten or masked by a variable of the same name in a higher scope.
  4. Try referencing the variable in other places to test if it is defined properly.
  5. Re-create the variable if needed to resolve the issue.

Incorrect BaseURLs

If requests are failing due to incorrect BaseUrls:

  1. Double check that the current environment selected matches the API you are trying to hit.
  2. Edit the BaseUrl value in the environment and replace it with the correct API endpoint base path.
  3. Resend the request using the updated environment.
  4. Update the BaseUrl inside at the environment level if neccessary.

Populating the OS1 Environment File

To populate the OS1 environment file with variables for API calls:

  1. Set the OS1 APIs environment as active.
  2. Define variables specific to the OS1 API like username, password, client ID, etc.
  3. Add the {{BaseUrl}} variable with the OS1 API endpoint.
  4. Use {{variables}} in the URLs and headers of OS1 requests.
  5. Refer to the Postman documentation for more tips on effectively using variables.



Updated 20 Nov 2023
Did this page help you?