404 Not Found Caused by an Incorrect Request URL
This article examines an error that might occur when you send a request to YouTrack REST API. You can face this error when the request URL contains an unsupported path or an encoded whitespace character.
Error Message
Request Details
Here are the details about a sample request that might result in this error.
Attribute | Value |
|---|---|
Request method | POST |
Incorrect endpoint |
|
HTTP response code | 404 |
This endpoint in this example is incorrect and caused the error. The %C2%A0 sequence is an encoded non-breaking space appended to the path.
Troubleshooting
Here are some possible causes and suggestions on how to overcome the error and send the request to the correct resource.
Cause
The request URL is incorrect. In this example, the path contains the unsupported /api/admin/issues resource and ends with %C2%A0, which is an encoded non-breaking space.
Solution
Check the request URL against the REST API reference and remove encoded whitespace characters from the path.
To create an issue, send the request to the following endpoint:
For general information about composing request URLs, see REST API URL and Endpoints.