Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 6

A developer has completed the implementation of a REST API, but when it is executed, it returns a 401 error message.
What must be done on the API to resolve the issue?

Answer options

Correct answer: B

Explanation

The 401 error indicates that authentication is required and that the credentials provided are either missing or invalid. Configuring new valid credentials (option B) is the correct solution to resolve this issue. The other options either address permissions or endpoint issues, which are not the cause of a 401 error.