Postman Troubleshooting Guide
3min
If you have variables in your Postman requests that are showing as unresolved, follow these steps:
- Make sure the variable is defined in the OS1 APIs environment.
- Check that the variable name matches exactly, including case, to where it is used.
- Verify the variable is not overwritten or masked by a variable of the same name in a higher scope.
- Try referencing the variable in other places to test if it is defined properly.
- Re-create the variable if needed to resolve the issue.
If requests are failing due to incorrect BaseUrls:
- Double check that the current environment selected matches the API you are trying to hit.
- Edit the BaseUrl value in the environment and replace it with the correct API endpoint base path.
- Resend the request using the updated environment.
- Update the BaseUrl inside at the environment level if neccessary.
To populate the OS1 environment file with variables for API calls:
- Set the OS1 APIs environment as active.
- Define variables specific to the OS1 API like username, password, client ID, etc.
- Add the {{BaseUrl}} variable with the OS1 API endpoint.
- Use {{variables}} in the URLs and headers of OS1 requests.
- Refer to the Postman documentation for more tips on effectively using variables.