website
                                
                                 website copied to clipboard
                                
                                    website copied to clipboard
                            
                            
                            
                        🐛 Bug: Error 404 in the console on community page
Describe the bug
Unexpected 404 errors in console
Steps To Reproduce
Open browser console Go to https://json-schema.org/#community You will see two 404 errors in the console
Expected Behavior
There should be no errors
Screenshots
Device Information [optional]
- OS: Win 11
- Browser: Chrome 
- version:122.0.6261.112
Are you working on this issue?
Yes
Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)
No
Thanks Jeel! Accepted and available for contributors.
Heyy @benjagm Can you please assign me this issue??
Hey @benjagm can I take this issue?
Hey @benjagm can I take this issue?
Hey @benjagm Can you assign this issue to me?
@AjayAsnani please go ahead with this issue.
@benjagm may I work on this one?
Hello! :wave:
This issue has been automatically marked as stale due to inactivity :sleeping:
It will be closed in 180 days if no further activity occurs. To keep it active, please add a comment with more details.
There can be many reasons why a specific issue has no activity. The most probable cause is a lack of time, not a lack of interest.
Let us figure out together how to push this issue forward. Connect with us through our slack channel : https://json-schema.org/slack
Thank you for your patience :heart:
This seems to be a good issue , @benjagm could you please assign it me
Thanks @DevMhrn ! Please go ahead!
@DevMhrn any updates on this ?
@DhairyaMajmudar Working on this , will raise the pr soon
#964 is similar to this one too
Hey @DhairyaMajmudar, I just checked the website to investigate the issue and encountered the same error related to fetching the response from: Could you elaborate on what the expected response should look like when making a GET request to this endpoint? I’ve also attached screenshots for better clarity and understanding.
Looking forward to your insights!
I've got no idea what it's fetching unlikely this was directly put into the project code though seems to be imported by next itself
slack.json is fetched somewhere in the page to do something try searching for it in the main page file
/slack.json and /slack take you to the slack join page still can't see where slack.json is imported though
Yeah , both this endpoint reached ,to the slack page , but if we use this path : '/_next/data/w0OPOvBY3sVrsSi3j-cmG/slack.json' then it get 404 not found
And one more thing , i just check response header , so there this path report to this endpoint {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=StsUkx03%2BIBAmwU1QRhnDuYhLsbMoD4MnSpU%2Fw93Uixfoy%2BxA14xYYHttJSquG1flKjIBsSwQ1ARBfU58xJjm40Qmu5Ep0pWZ2dhXN9GrmIPT1HVu92y%2BD2kvP22G83gMOCp4NdecoZ8ECKTATE%3D"}],"group":"cf-nel","max_age":604800} which related to cloudfare network error logging
Hey @IyaadArshad , do you have any idea about this '/_next/data/w0OPOvBY3sVrsSi3j-cmG/slack.json' , like whether it is related to client side navigation or server side. If it is related to client-side then , the path should be look like as '/slack' , else for server-side as /slack.json. and i am totally stuck to find /slack.json path in files.
And one more thing , i just check response header , so there this path report to this endpoint {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=StsUkx03%2BIBAmwU1QRhnDuYhLsbMoD4MnSpU%2Fw93Uixfoy%2BxA14xYYHttJSquG1flKjIBsSwQ1ARBfU58xJjm40Qmu5Ep0pWZ2dhXN9GrmIPT1HVu92y%2BD2kvP22G83gMOCp4NdecoZ8ECKTATE%3D"}],"group":"cf-nel","max_age":604800} which related to cloudfare network error logging
The domain json-schema.org is just probably using Cloudflare
Hey @IyaadArshad , do you have any idea about this '/_next/data/w0OPOvBY3sVrsSi3j-cmG/slack.json' , like whether it is related to client side navigation or server side. If it is related to client-side then , the path should be look like as '/slack' , else for server-side as /slack.json. and i am totally stuck to find /slack.json path in files.
I've searched the whole repo for the phrase "slack.json" (both w/ and w/o matching casing) in the whole repo in github and in vs. I don't see a single slack.json referred to anywhere in the code
odd...
Then what we can do now
dunno mabye check layout.tsx or imported components? stuff thats imported can have broken links too