Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 error when attempting to download csv #1

Open
jam1e opened this issue Mar 10, 2020 · 1 comment
Open

403 error when attempting to download csv #1

jam1e opened this issue Mar 10, 2020 · 1 comment

Comments

@jam1e
Copy link

jam1e commented Mar 10, 2020

When attempting to use this package, I am receiving the following error:

Trying calling getCSVUrl, attempt #1 out of 3 Scheduling download of CSV from https://onesignal.s3.amazonaws.com/csv_exports/*****.csv.gz
After failing for the third retry, I am given a dump of the config array, which I can provide if needed.

@jam1e
Copy link
Author

jam1e commented Mar 12, 2020

After looking around a little more into this, I feel that it is due to the number of subscribers I have, and the time it takes to generate the CSV file.

After setting backOff to 30seconds, It seems to have improved it a little. I'm now able to download the CSV within the default 3 attempts.

Rather than upping the backOff limit the more subscribers we have, would there be a better way to approach this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant