Comments (5)
We actually just had another JWT auth issue #145 just like this. The solution was to change from 'developer' to 'admin' and aw_workspace_report should work correctly.
The reason why your auth will be successful but the workspace report won't work is permissions. Authentication is handled via the AEP API and the data is handled via the CJA API.
Let me know if you have any other issues after you make that permission change.
Thanks
from adobeanalyticsr.
Hi Ben, thanks for your quick response.
I actually had both admin and developer permissions. Is there a specific product I should have permission for as an 'admin'?
Thank you.
from adobeanalyticsr.
Strangely enough, aw_freeform_table() seems to work, but aw_get_segments, or aw_get_metrics() gives the 403 error. Not sure how to interpret this.
from adobeanalyticsr.
Have same issue:
1.- at 5 pm. at laptop work, I could authenticate and download data (OATH method). First time setting the library in work laptop.
2.- 10 pm at home, on my PC that I've used a couple of weeks before to pull data, and can authenticate but not pull data...
> library(adobeanalyticsr)
> aw_auth_with('oauth')
> aw_auth()
Successfully authenticated with OAuth
> aa <- aw_freeform_table(
+ company_id = Sys.getenv("AW_COMPANY_ID"),
+ rsid = Sys.getenv("AW_REPORTSUITE_ID"),
+ date_range = c("2022-08-14", "2022-08-15"),
+ dimensions = c("campaign"),
+ metrics = c("visits"),
+ top = c(1032),
+ page = 0,
+ filterType = "breakdown",
+ segmentId = NA,
+ metricSort = "desc",
+ include_unspecified = TRUE,
+ search = NA,
+ prettynames = FALSE,
+ debug = FALSE,
+ check_components = TRUE
+ )
Auto-refreshing stale OAuth token.
Error in refresh_oauth2.0(self$endpoint, self$app, self$credentials, self$params$user_params, : Bad Request (HTTP 400).
Request failed [ERROR]. Retrying in 1.1 seconds...
Auto-refreshing stale OAuth token.
Error in refresh_oauth2.0(self$endpoint, self$app, self$credentials, self$params$user_params, : Bad Request (HTTP 400).
Request failed [ERROR]. Retrying in 1 seconds...
Auto-refreshing stale OAuth token.
Error in refresh_oauth2.0(self$endpoint, self$app, self$credentials, self$params$user_params, :
Bad Request (HTTP 400).
from adobeanalyticsr.
This may be a result of the new(er) profiles that Adobe has been luanching. If you are able to use the function "get_me()" then make sure the company id/name is showing that you are wanting to pull data from. If it does pull back information but your company id/name is not showing then you may be experiencing the new profile issue that we have seen internally in our company as well. This requires you to log out of adobe and then attempt to re-auth by signing back in and choosing the correct profile.
If, on the other hand, you are not able to pull information using 'get_me()' then you may have an expired 'aa.oauth' file and have to manually delete it and then re-authorize. The Adobe API does not allow us to refresh the oauth token so we need to re-auth manually every 24 hours.
Finally, if you are able to pull information using 'get_me()' and the company name/id is showing but you are still not able to pull data from the report suite then it may be a permissions issue and you would need to research to make sure you have the permission access level needed to use the API.
from adobeanalyticsr.
Related Issues (20)
- Documentation: Escaping apostrophes in aw_freeform_table, search
- aw_workspace_function() Error in UseMethod("unnest") HOT 4
- `select()` doesn't handle lists error using aw_segment_table HOT 3
- aw_freeform_table(): undefined columns selected HOT 7
- Could not resolve host: ims-na1.adobelogin.com HOT 3
- missing JSON headers in aw_workspace_report function HOT 2
- Creating aw_freeform_table for specific time frame HOT 2
- date range discrepancy in aw_freeform_table versus JSON from Adobe Workspace freeform table HOT 2
- Long Runtime for One Day's Data Retrieval HOT 3
- Filtering in a date range HOT 4
- Develop the functions to create a calculated metric
- datarangeweek - missing data HOT 5
- aw_get_reportsuites() is throwing an error when data is returned
- segment update and delete functions
- integrate tags
- aw_get_reportsuites() giving errors HOT 4
- aw_freeform_table issue HOT 1
- Add support for OAuth server-to-server authentication HOT 6
- When using more than two dimensions getting error HOT 7
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 adobeanalyticsr.