Add Home
53
Home.md
Normal file
53
Home.md
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Welcome to the weather-app wiki!
|
||||||
|
|
||||||
|
This web application is one of my first ones that I have build.
|
||||||
|
|
||||||
|
> This application is still work in progress.
|
||||||
|
> So be paitiend with me, if the app has still some errors.
|
||||||
|
> If you notice one, please create a new issue and I will take care of that.
|
||||||
|
|
||||||
|
## Error codes
|
||||||
|
|
||||||
|
Here you will find help when you get an error message. The error code should be next to the error starting with an ```x```.
|
||||||
|
|
||||||
|
## x30
|
||||||
|
|
||||||
|
***For developers:** This error is triggered from the ```frontend/src/utils/changeAPIcookie.ts``` file*
|
||||||
|
|
||||||
|
This error you will get, when there is something wrong with setting your API key. Please create an issue if you get this error.
|
||||||
|
|
||||||
|
To fix this error you can try to add the api key manually to your cookies. Follow these steps:
|
||||||
|
|
||||||
|
1. Naviagte to the cookies tab in your browser
|
||||||
|
2. Create an cookie with name `apiKey` and in the value paste your api key.
|
||||||
|
|
||||||
|
This should fix your problem!
|
||||||
|
|
||||||
|
## x32
|
||||||
|
|
||||||
|
***For developers:** This error is triggered from the ```frontend/src/utils/apiFunc.ts``` file*
|
||||||
|
|
||||||
|
When you get this error please create an issue and I will take care of that error.
|
||||||
|
|
||||||
|
For now, try to reinstall the application.
|
||||||
|
|
||||||
|
## x4010
|
||||||
|
|
||||||
|
***For developers:** This error is triggered from the ```frontend/src/utils/apiFunc.ts``` file*
|
||||||
|
|
||||||
|
When you get this error, the api function is having trouble with you api key.
|
||||||
|
|
||||||
|
To fix this error, check the api key that you have entered.
|
||||||
|
|
||||||
|
* Do not put spaces between the letters
|
||||||
|
* Check if you have pasted the api key from OpenWeatherMap correctly. (The free api key is completely sufficient)
|
||||||
|
|
||||||
|
If this does not work, try to make an api call by yourself (e.g. with Postman). Or get in touch personally with OpenWeatherMap
|
||||||
|
|
||||||
|
## x4040
|
||||||
|
|
||||||
|
***For developers:** This error is triggered from the ```frontend/src/components/WeatherForm.tsx``` file*
|
||||||
|
|
||||||
|
If you get this error you have entered a city name that cannot be geocoded to longitudes and latitudes.
|
||||||
|
|
||||||
|
Try to enter a different one.
|
Reference in New Issue
Block a user