I have created a Adobe IO runtime project based on firefly template for fetching the profiles from the campaign. But when i am trying to invoke the action , it showing the below error.
"error": "request is invalid, reason: failed authorization. Please use a valid user token for this SPA".
Could you please help me to resolve this issue ?
Thanks in advance.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Could you tell me more about how you are trying to invoke the Action?
Are you using the localhost hosted default web page to select the Action and invoke it? Or are you using the Adobe hosted default page to invoke the action? or are you trying to invoke from a custom UI you built?
Here is a little 101 data for you in the meantime.
Actions you build will require Adobe auth is passed to them in the header on every invocation unless you set "
Views
Replies
Total Likes
@deepakkv - Here are some more details on troubleshooting the error you mentioned: https://github.com/AdobeDocs/project-firefly/blob/master/getting_started/common_troubleshooting.md#a.... Hope it is helpful!
Views
Replies
Total Likes
How are you trying to invoke the Action? Postman, localhost default app, adobe hosted default app? There are different tips and things to check for based on how you are interacting with it.
Is this the same question as https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/quot-error-quot-quot-requ... ?
Views
Replies
Total Likes
Did you figure out the issue?
Views
Replies
Total Likes
@dr_venture here I am using Adobe hosted default page to invoke the action. in my under standing , I hope in this situation the headers will automatically pickup. But some how it is not happening and I am still facing the issue.
Please let me if you have any possible for this ?
Or I am missing something ?
Views
Replies
Total Likes
Views
Replies
Total Likes
With a page hosted at Adobe it will auto pass through your auth into the Action.
This may seem like a silly question but do you have multiple orgs your a member of? If yes then in the right hand corner of your app page do you have the same org selected that the project was created in?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies