You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`err` is an Error object. It will always have a `message` field
268
+
and depending on the type of error, it may also have the following fields:
269
+
- body
270
+
- headers
271
+
- name
272
+
- code
273
+
*/
266
274
}
267
275
);
268
276
```
269
277
278
+
### Global Transaction ID
279
+
Every SDK call returns a response with a transaction ID in the x-global-transaction-id header. This transaction ID is useful for troubleshooting and accessing relevant logs from your service instance.
By default, [all requests are logged](https://cloud.ibm.com/docs/services/watson/getting-started-logging.html). This can be disabled of by setting the `X-Watson-Learning-Opt-Out` header when creating the service instance:
0 commit comments