logo

NJP

Varan explains : Why is same REST API endpoint working in one instance and having authentication issue in another

Import · Sep 08, 2022 · article

Issue : When testing a outbound REST message that uses basic authentication it runs successfully in one instance but when same basic authentication credentials are migrated to another instance via an updateset or via xml REST API it wont run or provide an expected result.

This happens because when migrating basic auth credentials via deployment or via xml it doesnt set password correctly.

Solution : Hence password would need to be updated manually on basic authentication record and that would solve the issue.

View original source

https://www.servicenow.com/community/now-platform-blog/varan-explains-why-is-same-rest-api-endpoint-working-in-one/ba-p/2288478