Comments (4)
Hello @meetu30,
Unfortunately there are very few things to do.
Are you using aanalytics2 ?
Which version of the module are you using ?
You can check that with : aanalytics2.__version__
Try to update to the newest version because I should catch these requests normally in my module and account for that.
If you are trying to re-built a python module for your own use, then you need to add a time.sleep between each call to ensure that it doesn't get above 12 for 6 seconds.
Also, note that the limitation is for everyone using the API, so if you share the API usage with other teams, they may "eat" your limitation.
from adobe-analytics-api-2.0.
Hi Pitchmuc,
I am doing this in Python via API call -
endpoint = 'https://analytics.adobe.io/api/' + globalCompanyID + '/reports'
Before calling this link, I provide credentials in "header" section and the metrics and dimensions in the "body" section. Once these 2 are set, I call API one by one for individual id. Total Ids that I have stored in list are close to 1000 most of the time. So this API is called at least 1000 times, with the purpose to return me the related metrics and dimension. The issue is that it gets stuck randomly after N number of calls, where N can be 40 /90/400 or any number. I tried to put time.sleep(2) statement right after the above API call, but still the same issue.
Sometimes I get "too many requests" error displayed on console.
Sometimes, there is just no error on console, but in log file I see this error - "Error occured: ('Connection aborted.', TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond', None, 10060, None))"
Your input is highly appreciated. TIA.
from adobe-analytics-api-2.0.
Unfortunately, this is the issue of the Adobe API 2.0.
I would recommend you to raise a ticket on the official Adobe repo or via customer care for that
You "just" need to account for that and setup a "retry" function, I believe I do have one so you can also use the aanalytics2
module directly ;)
from adobe-analytics-api-2.0.
Thanks much Pitchmuc!
from adobe-analytics-api-2.0.
Related Issues (20)
- Dimension API is returning up to 3 Elements in Support Value list HOT 4
- findComponentsUsage KeyError: 'reportlet' HOT 8
- UnboundLocalError: local variable 'myProjectDetails' referenced before assignment HOT 5
- Issue with getUsagelogs method HOT 10
- Data warehouse method HOT 1
- getReport does not work with RequestCreator HOT 2
- [Bug] Statistics needed in getReport2() HOT 5
- createConfigFile() Improved argument parsing HOT 3
- getUsagelogs returning KeyError 'Content' HOT 7
- getReport2 fails if dimensional value filters are used as segments HOT 5
- Limit HOT 2
- Feature Request: Ability to pass through a logging.formatter class to the logger. HOT 2
- Bug: DataFrame obtained from getReport method not matching table seen in Adobe Analytics portal. HOT 3
- Updating segment error HOT 1
- Feature Request: getRequests() Method HOT 1
- getReport methods do not accept requests without a dimension HOT 6
- Pandas error from getReport2 (for a request with no dimensions and no STATIC_ROW_COMPONENT. HOT 3
- getReport2 returns incorrect numbers for metrics/pageviews. HOT 7
- getReport2 should not rewrite the request HOT 12
- getRequest2 method returning 0 rows for all json requests. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adobe-analytics-api-2.0.