Often times, showing the error state isn’t enough. You will need to show how you got to the error state as well. Please include any commands executed or the least amount of code (or your code repository) to recreate your problem.

Not all questions benefit from including code, but if your problem is with code you’ve written, you should include some. Include just enough code to allow others to reproduce the problem.

In some cases, it might be helpful to recreate a minimal example of your problem. If you’re using web technologies, you can use: codepen.io for simple problems or if your problem is specific to a framework like react you can use codesandbox.io. If your problem requires a server, you will need to setup a code repository.

Other resources on this topic


This is a common mistake when Asking Questions.