Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Troubleshooting outbound REST web services - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Troubleshooting outbound REST web services
KB0659194

Troubleshooting outbound REST web services


24560 Views Last updated : Jul 2, 2024 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

 

Outbound REST functionality enables you to retrieve, create, update, or delete data on a web services server that supports the REST architecture. You can send a REST message by a REST workflow activity or by using the RESTMessageV2 script API.

 

 

 

Release

All

Cause

In the newer versions of ServiceNow you can follow the below steps :

1) For outbound rest messages: System Web Services -> Outbound

Select the SOAP or the REST message . Select the method

Under Related Links -> Set HTTP Log level -> All

 

If logging needs to be enabled through script , add the statement

rm.setLogLevel('all');


2) For Flow Designer/Spoke Rest or Soap steps to check outbound web service logs

 Set the system properties . Please note these are global properties and affect all the outbound web services logging . Please disable once the logs are captured

Filter navigator -> sys_properties.list

glide.outbound_http_log.override.level  = all

glide.outbound_http.content.max_limit = 1000

glide.outbound_http_log.override = true

 

3) To check the Outbound HTTP logs

 Filter Navigator -> Outbound HTTP Requests

Locate the outbound call that was made

Open the log record . Check the "Request" and "Response" tabs

 

In older versions of ServiceNow

To troubleshoot outbound REST issues, set the system property glide.rest.outbound.debug to true.

  1. Go to /sys_properties_list.do.

  2. If the glide.rest.outbound.debug system property is not listed in the table, click New and create the property with the following following values:


    • Name: glide.rest.outbound.debug
    • Type: true|false
    • Value: true

    Once this property is set, additional information about the outbound REST message is captured in the logs.

  3. Navigate to System Logs > Node Log File Browser.

    Note that you will be able to read the node log file only for the node you are currently logged in to. If you are unable to find the output for your REST call, the REST call might have been processed by another node. Try to log in through a different browser or private browsing window (incognito window) and see whether you can find the information on those node log files, or contact support for assistance with retrieving the information from the log files.

  4. Select the time frame during which the outbound REST call is made and Message contains REST Msg Outbound.

In the following example, an outbound REST call is made from one instance to another. This will give you additional information about the headers and the body that is sent out.

If any errors are encountered you can check them in the logs.

Note: Test the outbound REST message first outside ServiceNow by using tools such as cURL, POSTMAN, or any other REST client.

 

2017-12-28 15:12:31 (663) Default-thread-201 42EE184A4FDB0B002BEDA9D18110C707 DEBUG: REST Msg Outbound - RESTMessageClient : Executing: Outbound REST Message/Method: OutboundIncidentREST/post
HTTP Request:
POST https://<instance-name>.service-now.com/api/now/table/incident
Content-Type: application/json
Authentication type: basic
Authentication profile: 
Profile name: <profile-name>
Username: admin
Password: ********
Mutual Auth: false
ECC Queue: false
Request Content:
Length: 66
Content: {"caller_id":"Abel Tuter","short_description":"from REST POST123"}
2017-12-28 15:12:32 (325) Default-thread-201 42EE184A4FDB0B002BEDA9D18110C707 DEBUG: REST Msg Outbound - RESTMessageClient : Response: Outbound REST Response
HTTP Status: 201 Created

Related Links

Outbound Web Services Logs:

  • KB0998511 - Capturing localhost logs for Outbound Web Service issues 

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • Screen Shot 2021-02-27 at 6.33.00 AM.png
  • RESTOutbound-neutral.png
  • Screen Shot 2021-02-27 at 6.33.00 AM.png

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.