Skip to content

Commit

Permalink
📝 doc(codes erreur): Ajout d'un paragraphe explicite sur les codes er…
Browse files Browse the repository at this point in the history
…reurs possibles (#208)
  • Loading branch information
vvatelot authored Dec 15, 2022
1 parent 4319289 commit 0a4c256
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ weight = 65

{{% info_2_columns_col1 %}}

## MĂ©thodologie d'analyse
## Analysis methodology

{{% /info_2_columns_col1 %}}

Expand All @@ -32,4 +32,4 @@ If the page is indeed an html page (content type `text/html`) which does not enc

{{% /info_2_columns_col2 %}}

{{% /info_2_columns %}}
{{% /info_2_columns %}}
23 changes: 23 additions & 0 deletions content/en/how-it-works/_66_error-codes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
+++
id = "codes-erreur"
weight = 66
+++

{{% info_2_columns %}}

{{% info_2_columns_col1 %}}

## Error codes

{{% /info_2_columns_col1 %}}

{{% info_2_columns_col2 %}}

In some cases, the analyzes can fall into error. Here are some possible explanations:

- **Code 403:** The ecoindex site tries to circumvent antibot protections such as Datadome, Imperva... However, this feature is not infallible. In case an antibot system detects ecoindex as a bot, it will return a 403 error code
- **Code 429:** As explained [here](#points-important), we voluntarily limit analyzes to 10 per day for the same domain name. If you want to do more, you can deploy [your own API instance](https://github.com/cnumr/ecoindex_api) or use the [command line analyzer tool](https:// github.com/cnumr/ecoindex_cli)

{{% /info_2_columns_col2 %}}

{{% /info_2_columns %}}
23 changes: 23 additions & 0 deletions content/fr/how-it-works/_66_error-codes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
+++
id = "codes-erreur"
weight = 66
+++

{{% info_2_columns %}}

{{% info_2_columns_col1 %}}

## Codes erreur

{{% /info_2_columns_col1 %}}

{{% info_2_columns_col2 %}}

Dans certains cas, les analyses peuvent tomber en erreur. Voici quelques explications possibles :

- **Code 403:** Le site ecoindex essaye de contourner les protections antibot tels que Datadome, Imperva... Cependant, ce dispositif n'est pas infaillible. Dans le cas où un système antibot détecte ecoindex comme un bot, il renverra un code erreur 403
- **Code 429:** Comme expliqué [ici](#points-importants), nous limitons volontairement les analyses à 10 par jour pour un même nom de domaine. Si vous souhaitez faire plus, vous pouvez déployer [votre propre instance d'API](https://github.com/cnumr/ecoindex_api) ou encore utiliser [l'outil d'analyse en ligne de commande](https://github.com/cnumr/ecoindex_cli)

{{% /info_2_columns_col2 %}}

{{% /info_2_columns %}}

0 comments on commit 0a4c256

Please sign in to comment.