From the course: Cisco DevNet Associate (200-901) Cert Prep 2: Understanding and Using APIs
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Error and troubleshooting approaches
From the course: Cisco DevNet Associate (200-901) Cert Prep 2: Understanding and Using APIs
Error and troubleshooting approaches
- [Narrator] Inevitably, something will go wrong when you start to work with APIs. It is normal and no need to panic if you hit some errors. Besides the divide and conquer troubleshooting steps, in this section, let's talk about some of the API troubleshooting steps. First, determine the source of error. This is sometimes overlooked, but I often find a lot of times the error's actually from the script that we have wrote or something pretty simple. For example, if the DNS look-up fails or the SSL certificate expired or so on. This is also why the status code is important because it allows us to narrow down the scope to either a server or client error. After determining the error code, based on the status class, do a more detailed look at the two digit error code. We spend a lot of time talking about common error codes. There are a lot of details that could be gleamed from the two digit code that follows the first digit,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.