Asking for localized document responded with 404 error message #205
Labels
bug
Something isn't working
Needs investigation
This needs some diving in to before it can be worked on
Bug report
Describe the bug
Whenever I try to retrieve a localized document (being it a collection or a single type) the endpoint /webtools/router?path=... return a 404 error message.
Steps to reproduce the behavior
Expected behavior
When is asked for localized versions of documents, the api should return the document itself, not a 404 error message.
Screenshots
Button to click for point number 10:
Code snippets
Response of "http://localhost:1337/api/webtools/router?path=/homepage":
Response of "http://localhost:1337/api/webtools/router?path=/en/homepage";
Response of "http://localhost:1337/api/webtools/url-alias";
Response of "http://localhost:1337/api/pages?locale=en&populate=url_alias":
System
Additional context
The localized documents seem not to be returned by the plugin, but the url seems to be generated correctly. The standard Strapi GET see the document and the path, as shown in the response of "http://localhost:1337/api/pages?locale=en&populate=url_alias".
The text was updated successfully, but these errors were encountered: