Skip to content

Handle rate limit errors in TonUpload. #123

Description

@AlexCppns

Issue Type: Improvement

Description:

Using TONUpload (from TailoredAudience.create) does not handle rate limiting. This means we have to restart from the beginning of the file every time we hit the limit. We have no control over the speed at which we upload chunks.

Steps to Reproduce:

file_name = '/tmp/200Megabytes.txt'
TailoredAudience.create(account, file_name, "Test", "EMAIL")
#=> TwitterAds::RateLimit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions