Comments (7)
I tried it but no luck and I still get same error
from adobe-analytics-api-2.0.
Hello
Try to install that library:
PyJWT[crypto]>=1.7.1
Also retrieveToken is not really supported anymore.
I would recommend to use Login
class and go to the class retrieve the token from there.
login = api2.Login()
login.connector.token ## getting the token
or
login.header ## will provide you the required information
from adobe-analytics-api-2.0.
Several options I can provide:
- You can try to upgrade pyJWT to 2.0.0
- you can uninstall pyjwt and jwt and re-install one after the other
Are you using your local environment or are you on Google Cloud ? We have seen this issue coming from Google Collab, and it is a Google issue.
from adobe-analytics-api-2.0.
I was able to fix the issue I think but now I get a different error , I ran this cids = api2.getCompanyId() and I get this error
from adobe-analytics-api-2.0.
I would recommend to use the Login
class as explained in my first answer.
The api2.getCompanyId()
is not supported anymore.
What was the issue / or the resolution on the first isse ? It would be interesting for others.
from adobe-analytics-api-2.0.
I did pip uninstall pyjwt first and then conda install pyjwt -y. for the above issue , I had to do conda upgrade cryptography . Now it is working fine . And api2.getCompanyId() is also working fine for me .
from adobe-analytics-api-2.0.
Awesome to know.
Thanks for the feedback. Have fun !
from adobe-analytics-api-2.0.
Related Issues (20)
- findComponentsUsage function fails HOT 9
- 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.