Welcome to the Adobe Developer Community! Connect with peers to ask questions and share best practices.
Recently active
I see a strange error when changing my triggers/rules using whisk alarms/interval. Example: I had a fully running action (interval 5 mins) and wanted to change the interval. after "aio app undeploy" I changed just the "interval" and deployed again, running into issues (see screenshot). then I played around with names of triggers/rules and interval - suddenly running again. There is no obvious spelling mistake in the manifest.yaml so I think there must be another issue. see the list here:Looking closer at the entries I can see that it tryes to run actions with "nodejs:10" (failing) sometimes changeing to "nodejs:12" (success). in the manifest.yaml the action in question has "runtime: 'nodejs:12'" as parameter, maybe that is the issue? but why does it change to "nodejs:10"? any option to force using only "nodejs:12"?Here are the ID's of the last 5 entries in case somebody wants to have a closer look: success: 3211537210944900915372109449000dsuccess: b929585cefc74d43a9585cefc72d4336a
I want to check access credentials within an action of a firefly app. I can see the bearer token in the params, but how can I exctract any information about the user or access credentials? best would be to know what product profiles the user has to make a check against needed permissions. is there any way to retrieve more information about the user to which the bearer token belongs?
is it possible to access the data saved in the .env file within the app? eg. I have a screen and I want to access data saved in the .env file - basically to make a check. or do I really need to write an action for this?
Having an app scren, is it possible to use the libraries aio-lib-state or aio-lib-files and access the data? eg. I want to have some "basic logs" save somewhere and display it on an app screen (component). or do I need to write an action fetching the desired data and then display the response?
Looking at the Adobe Launch API there is a subscription service to register a callback request. the definition of the API reguest can be found here: https://developer.adobelaunch.com/api/reference/1.0/callbacks/create/ I really love the idea of registering my own url within those callbacks, mainly because @jexner wrote a blog about: https://webanalyticsfordevelopers.com/2020/04/07/using-audit-events-in-launch/ the first idea was to expose one of my action to public so that I can be used to register as url in a launch callback. but how to handle "authentication"? and how to prevent somebody else calling my action? I would need to do all the checks about permission within the action itself which seems far too complicated... having more insights about Firefly and triggers/rules within AIO, I assume that the funcationality of those callbacks are based on the same technology as the Firefly rules. basically it creates sort of a "rule" and invoces an action
We have created a property in Adobe I/O runtime and got the namespace vale. But when we are trying to run the below command getting the HTTP Status code 404. Could you please help here.
Hi Adobe,We have got access to I/O runtime beta and received the namespaces for our runtime instances.By following the documentation we configured the aio CLI and were able to upload and invoke a simple action.However I believe we are missing one step in the configuration and we never got runtime connected to our I/O console integration.When we are trying to retrieve the integrations from our I/O sandbox instance via the aio console:list-integrations command we get the following error:» Error: The value "null" is invalid for option "passphrase"We could go around this by generating an access token first with the aio jwt-auth:access-token command.After that we were able to list out the integrations but when we try to run aio console select-integration ORGID_INTID we got the following error:» Error: Cannot retrieve integration: https://api.adobe.io/runtime/admin/namespaces/ORG_ID/INT_ID (404 Not Found)Of course we replaced the ORGID_INTID with the actual values from the nam
I gave an issue somewhere in my action after "aio app deploy". the action is working fine on local "aio app run", but not in deploy. any chance I can see the debug of the action somewhere when app is deployed?
Given an "action A" is running and I want to call (based on conditions) different other actions (from within the same app), what is the best way to achieve this?1) use node-fetch and the action name?2) release an event and the other action listens to? remark: I can't use sequencing since I don't know what the second acrion is. the second action depends on calculation in the first action. if 2), how can I trigger such an event and how can the "listener"? update the manifest.yml?thanks in advance for any help!
I tried to add openwhisk alarms to my app using /whisk.system/alarms https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference/prepackages.md and added a new trigger to my manifest.yml file as following: triggers: myIntervalTest: feed: /whisk.system/alarms/interval inputs: minutes: '5' start-date: "2020-08-30T19:30:00.000Z" stop-date: "2020-08-30T21:30:00.000Z" payload: "{}" and running local dev server with "aio app run --local" I get the following error message: OpenWhiskError: POST http://localhost:3233/api/v1/namespaces/whisk.system/actions/alarms/interval?blocking=true Returned HTTP 403 (Forbidden) --> "The supplied authentication is not authorized to access 'whisk.system/alarms'." Question 1: what do I need to change to get proper authentication? on the other hand, it runs leaving out the "--local" parameter with the follow
I was trying to use the aio-lib-state https://github.com/adobe/aio-lib-state and was running into different issues on my local maching. Issues on "init"first, I tryed to include just the sdk and init storage using the following code in my simple action: const stateLib = require('@adobe/aio-lib-state') const state = await stateLib.init() but as soon as I trigger the action from the generic action UI, I get the following error in debugger: error 403 - unauthorized request it looks as it is trying to contact the Adobe API https://adobeio.adobeioruntime.net/apis/tvm using the "guest" namespace.To fix this, I updated "manifest.yml" to include the needed vars and provide them as params to my action: THIS_AIO_runtime_auth: $AIO_runtime_auth THIS_AIO_runtime_namespace: $AIO_runtime_namespace and in the action I changed the init to the following code: const state = await stateLib.init({ ow: { namespace:params.THIS_AIO_runtime_namespac
Hi Team, We would like to use a scheduler job in firefly app, we found the following option https://github.com/apache/openwhisk-package-alarms is there any alternate option in firefly?
Hi all. have a question regarding aio-lib-state: https://github.com/adobe/aio-lib-statewhat is the expiry of a key I set in an action? is the state cleared after an action or persits for a given time?example: action1 sets a key to the state, can a action2 get the value when running later (and independend).
Does anybody know how to make Adobe Analytics addable in Adobe Developer Console? We are using a sandbox with Adobe Analytics added. Thanks
We successfully implemented a Firefly App that fetches data from an external API and writes data into Adobe Analytics (using the old API 1.4). This works perfekt since the action can use the UI-User credentials (read from params) like this: const resHeaders = { "authorization": params.__ow_headers["authorization"], "x-api-key": params.__ow_headers["x-api-key"], "w-gw-ims-org-id": params.__ow_headers["w-gw-ims-org-id"], "x-api-key": params.__ow_headers["x-api-key"] } but where does the action gets the credentials if there is no UI providing the params? what "user/key" does it have to execute requests against Analytics API? or can I somewhere add credentials to manually set the desired values?Thanks a lot for the support!
Working on an app with following steps1) fetch data from external API2) write data to Adobe Analytics currently I only have one action that both makes the fetch request and later the push data request. but I think it might be better to have 2 seperate actions, one for the data fetch and the other for the push data. basically passing data to second action (temp storage?) and second actions makes the data push.this way I might re-use the second action for other data pushes later on - just handing over data and some parameters for the data push and done. but I could as well write modules that are included in the single actions and re-use those for other actions. any feedback what is the better approach? having a single "workflow" approach (get data and push) in one action or separate? if separate, any tips how to hand over the data?
Hi, I want to integrate Kafka with Adobe I/O Runtime so that I can send the data from Kafka via Adobe I/O Runtime to Adobe Campaign Standard. Can somebody please help me how to do this? Any kind of help would be highly appreciated. 🙂
is there an easy way to access the key/values from the env file within the app or within the actions? or do I need to install a node module that handles the env files?
Does anybody have some help on how to create the following UI items within a Firefly app?Screen with tiles, similar to the Experience Cloud overview screen (as a welcome screen for my app where user can jump to other screens of the apptable to display data, eg. from a data fetch or from storage, really simple table with header row and some rows with data, something like thisThanks in advance for any hints on this topic.
I have a requirement to write an action that is only available on the API 1.4. Is it possible to do it using the analytics package or do I need to setup a custom action and manually write all the calls to the API?
Hi Team,Is there a way we can store data and files in Firefly or I/O Runtime?
Hi Team, I have deployed the app on Production workspace and requested for the approval by using 'Submit for Approval' option.Now the status is 'In Review' state, I have System Admin access but still I don't see any option to Approve the app.
Hi Team, We can see the firefly app in the provided url (https://experience.adobe.com/?devMode=true#/custom-apps/?localDevUrl=xxxxx-development.adobeio-static.net/index.html ), but while we accessing the apps from Project Firefly Apps link or refreshing the above URL we are getting the below response 'No Apps Available'
Feel like I must be missing something obvious but I couldn't see any help documentation that explains the process of moving a build from stage to production. I have run aio app deploy and everything is working nicely in Stage but I couldn't see a way to move things across. I can see it's possible for me to add the Services etc again in the Production environment but is that meant to be the process?
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.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.