Welcome to the Adobe Developer Community! Connect with peers to ask questions and share best practices.
Recently active
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?
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.
Hi,I recently updated AIO CLI together with all my plugins and now I'm unable to run or deploy any app as it fails fast with the error message: "Could not locate the bindings file"For instance, running aio app:run I'm getting error like belowaio app:run @61380/aio-cli-plugin-auth:upgrade-config-hook:debug hook running. Error: Could not locate the bindings file. Tried: → /Users/marcin.czeczko/.local/share/@adobe/aio-cli/node_modules/deasync/build/deasync.node → /Users/marcin.czeczko/.local/share/@adobe/aio-cli/node_modules/deasync/build/Debug/deasync.node → /Users/marcin.czeczko/.local/share/@adobe/aio-cli/node_modules/deasync/build/Release/deasync.node → /Users/marcin.czeczko/.local/share/@adobe/aio-cli/node_modules/deasync/out/Debug/deasync.node → /Users/marcin.czeczko/.local/share/@adobe/aio-cli/node_modules/deasync/Debug/deasync.node → /Users/marcin.czeczko/.local/share/@adobe/aio-cli/node_modules/deasync/out/Release/deasync.node → /Users/mar
I had written a custom action on firefly template which consumes Analytics API. It was running fine until today. When I call the API, all I get is this error:{ "error": "server error" }In the console of code editor, I seeinfo: 500: server error Logs aren't updating too. Is there anything I can do to get more information on the error ?
I have created a Adobe IO runtime project based on firefly template. I have added Adobe Analytics API in my console.adobe.io. While creating the project thru AIO, it has created a sample action which fetches collections from adobe analytics. Problem 1: When I open this app using localhost:9080, I get this error in ForwardRef($f01f0d1066865f7027d77d32f5de6fe$var$Picker) (created by App) in ModalProvider (created by ForwardRef($bc3300334f45fd1ec62a173e70ad86$var$Provider)) in I18nProvider (created by ForwardRef($bc3300334f45fd1ec62a173e70ad86$var$Provider)) in ForwardRef($bc3300334f45fd1ec62a173e70ad86$var$Provider) (created by ForwardRef($d618213cd07bac427c632ce5c90d7$var$Form)) in form (created by ForwardRef($d618213cd07bac427c632ce5c90d7$var$Form)) in ForwardRef($d618213cd07bac427c632ce5c90d7$var$Form) (created by App) in div (created by ForwardRef($f9fee2c1db386bde8f28b36a814d1eb2$var$Flex)) in ForwardRef($f9fee2c1db386bde8f28b36a814d1eb2$var$Fle
Why do the links within Developer Support, here only link back to this forum.Since there are no support members that appear to be responding to questions, it seems that there is no place for Adobe I/O support. What is the best method to received support for Adobe I/O?
I have this since the weekend. I have tried other accounts and different machines with the same error after adding the "Adobe Stock API" Service getProjectById failed. Error code: 500 , Error message: Internal Server Error , Request ID: 1wW17AuPZ2NKsaQmMxasnkf3vebVosP6
Hi, I recently received my Project Firefly access, did the Console I/O integration and setup the npm libs. But when I try to run "aio login", open the access page, and try to login in it tells me that my account is not supported - it tells me "Company or school accounts are not supported. continue with a personal account." My account is linked to my org with a federated login backed by okta. I really fail to see the point of the personal account, because in that case I wouldn't have access to the data I need. Any ideas?
Hi, I have defintion of APIs in manifest file, something like that:... apis: dev-api: dev: token: getToken: method: GET response: http create/{resourceType}: createObject: method: POST response: httpEndpoints work fine, but whenever I try to fetch list of APIs using:wsk api listI always receive empty list.▶ wsk api list ok: APIs Action Verb API Name URL Other commands like wsk action, wsk activation, work fine. My goal is to fetch swagger configuration for existing APIs and update manifest to use that configuration. But of course it would be nice to be able to check currently installed APIs.
When trying to do a hello world of a Firefly app, I am able to install the app using the Adobe I/O CLI, that works fine now.But when I run `aio app run` and open both the localhost URL and the experience cloud URL, I get the following error: I haven't modified any code. Here are the errors in the browser console: localhost: experience cloud:
I've been following the instructions to initialize a hello world Firefly app using the Adobe I/O CLI and running into a problem. I believe the app initialization is failing when trying to install the npm packages.The result is that the npm packages are not installed and so it's not possible to run the app locally. Following the instructions on Github I encounter the problem at section 4.1 step 6.It cannot find the package `@react-types/typography` on the npm registry. It shows a bunch of errors and then says `App initialization finished!` but when I check the folder, there is no `node_modules` folder created. Then I try to run `aio app run` and it fails with the following error: You can see that it failed to find the package `@adobe/aio-sdk` which is in the list of dependencies in package.json and hasn't been installed. Installing it manually throws errors saying it can't find other packages like `cloudevents-sdk` and `uuid` which are also on the list of depend
I've created a project with the intention of using the Privacy Service APIs. So i've made a few small tweaks:1) Changed the endpoint to "https://platform.adobe.io/data/core/privacy/jobs?regulation=gdpr&size=100"2) Changed requiredHeaders to include ['Authorization', 'x-api-key', 'x-gw-ims-org-id']I've tried the request in Postman and it works fine, so I know there isn't an issue with the headers, but when I run it in localhost I get a 500 error: Am I missing something obvious?Edit: I didn't mention that I'm just using the sample app that gets generated, and then in index.js I've adjusted the requiredHeaders & apiEndpoint values:
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.