HTTP Response: 404 Not Found

Updated 1 week ago by Rahul Lahiri

Error message

HTTP RESPONSE STATUS: 404 Not Found

This error happens when API Studio cannot reach the target url. It can happen due to several reasons. One cause of the error can be due to an incorrect url formed by the combination of the environment variable and the request path that inserts an extra '/' in the request path.

Remove extra '/' from target url

This error can happen if you have a trailing '/' in the environment variable definition as well as a '/' in the target url definition in between the environment variable and the path. This can be easily identified by inspecting the target url for the request shown in API Studio.

If you see this error, remove one of the '/' from either the environment variable or the request url.

Environment variable
Request path

We recommend removing the trailing '/' from the environment variable definition as a standard practice. However removing either of the '/' will address the problem.


How did we do?