Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Cannot Run Analytics Action

Avatar

Avatar
Validate 1
Level 1
rbrowne_jcp1
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
rbrowne_jcp1
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
rbrowne_jcp1
Level 1

14-08-2020

On the template app, whenever I try to run the Analytics action, I get the following message:

 

status: 400 and message: {
  "code": "AH4p47opZVVoqb9YnkuypHKQNtChpCyk",
  "error": "Request defines parameters that are not allowed (e.g., reserved properties)."
}

 

I looked at other posts about similar issues, and they all mentioned to update the npm react-spectrum to 3.0.1. Like in this post. I checked my package.json and found this line:

 

 "@adobe/react-spectrum": "^3.0.1"

 

But in any case, I deleted the node modules folder, removed the package-lock file, and then did an npm install.

 

But to no avail. Any ideas on this?

 

Also, what is the company id: is it xxxxx@AdobeOrg or the "x-proxy-company" parameter we use in the API calls.

I have also updated the .env file with both types of values but it still didn't work.

 

Thanks for reading.

Analytics firefly
View Entire Topic

Avatar

Avatar
Give Back 3
Level 2
SarahXu
Level 2

Likes

7 likes

Total Posts

33 posts

Correct Reply

5 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Give Back 3
Level 2
SarahXu
Level 2

Likes

7 likes

Total Posts

33 posts

Correct Reply

5 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile
SarahXu
Level 2

14-08-2020

Hi @rbrowne_jcp1 
I think this is an error with the Analytics API which is expecting a company id (which looks something like `adobe`). You could follow the Analytics API documentation or contact your system admin to figure out the value for your company.  https://www.adobe.io/apis/experiencecloud/analytics/docs.html#!AdobeDocs/analytics-2.0-apis/master/o...

Hope this helps,

Sarah