aweber / public-api-examples

Repository containing examples for api.aweber.com
BSD 3-Clause "New" or "Revised" License
22 stars 42 forks source link

API hangs after a few calls to any endpoint #28

Closed revg75 closed 4 years ago

revg75 commented 5 years ago

After generating access token and using the get-tags example from this repository the API call usually works a few times in a row, but fourth time or so the call will simply hang... When it does hang it takes about 2 minutes for it to return.

Hopefully someone can fix this because I would like to use this in order to add subscribers to my lists after they sign up to my web app.

revg75 commented 5 years ago

Also after playing with this long enough even got an error message finally

ServerException: Server error: GET https://api.aweber.com/1.0/accounts/{accountId}/lists?ws.op=find&name=abc resulted in a 500 Internal Server Error response: An unexpected error occurred

KMChappell commented 5 years ago

Thanks for reaching out! We discussed this problem in more detail via the email you sent in, but if anyone else sees this and has a report of this bug we'd be happy to take details at api@aweber.com or in another comment here. The team is investigating some slowness with the top tags and find lists endpoints so further details are greatly appreciated!

Details appreciated are:

In the meantime we'd recommend retrying on a 500 error as a general good practice, and if you can cache the data or limit the number of times you call these endpoints that will reduce the impact on your integration as well while we investigate the issue.

vfalco02 commented 4 years ago

Closing this issue since we have not heard any additional feedback around this occurrence or any additional reports.