# Read the error message

## Why have I been given this link?

Someone who is trying to help answer your question will give you this link if you have posted an error log which they believe would let you know the error - if you take the time to read it carefully.

While they **could** have told you exactly what the problem is, this will not help you as a developer as much as learning to to find and read error messages **for yourself**. Developing this skill will allow you to find and fix your own problems in future - this is a fundamental skill in software development.

You will get much better help (and respect) if you do this.

Also, it is considered a basic sign of respect towards those who are volunteering their time to help you, for you invest the time to really try to read and look for clues in an error report, before asking for help.

## So, what should I do?

* Take your time
* Read the error message(s) from start to finish
* You maybe won't understand all of it - this is normal.
* Make sure you are looking through ALL of it
* Look for clues:
  * keywords,&#x20;
  * sections of your code
  * names of YOUR files and line numbers of them
  * timestamps (if any) that tell you WHEN something happened
* Spend at least 5 minutes doing this
* Make notes of clues, if you do not find your answer immediately
* Once you DO understand the problem, take the time to record some information about it (e.g. in a Google Doc "My JavaScript learning notes"):
  * What the error was
  * What the relevant part of the error message was that describes the error, so that you are more likely to recognise it in future.  You will find that the same error messages come up time and time and time again.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codeyourfuture.io/archive/archived-pages/guides/common-responses/read-the-error-message.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
