From 6d66110354366a50d2d5f4902e268be449f2feae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Rami=CC=81rez=20Mondrago=CC=81n?= Date: Tue, 30 May 2023 16:52:36 -0600 Subject: [PATCH] Fix README --- README.md | 4 +++- pyproject.toml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5257158..607e967c 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,9 @@ A Facebook access token is required to make API requests. (See [Facebook API](ht Hitting the rate limit for the Facebook API while making requests will return the following error: -```400 Client Error: b'{"error":{"message":"(#80004) There have been too many calls to this ad-account. Wait a bit and try again``` +``` +400 Client Error: b'{"error":{"message":"(#80004) There have been too many calls to this ad-account. Wait a bit and try again +``` This error is handled using the [Backoff Library](https://github.com/litl/backoff), and the program will cease for a random amount of time before attempting to call the API again diff --git a/pyproject.toml b/pyproject.toml index 8e5ee110..8b37a2c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ license = "Elastic-2.0" packages = [ { include = "tap_facebook" }, ] +readme = "README.md" [tool.poetry.dependencies] python = "<3.11,>=3.7.1"