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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

duypnguyen
Community profile duypnguyen Employee
Job title here
Location here
19 BADGES
Employee

Employee

Learn more
Joined the community 24-01-2018 10:58:02 AM
Online
Top badges earned by duypnguyen
Customize the badges you want to showcase on your profile
Re: Error while running the first firefly project
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
@Saif - based on the previous conversation, it seemed that your connection is blocked by a firewall.Similar report at https://github.com/adobe/aio-cli/issues/222Did you have a chance to work with your IT department on how to overcome it?

Views

18

Likes

0

Replies

0
Re: Getting DB Provider error with Adobe IO Rest Service
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
@suryapramodhd73 - to make sure I understand the problem correctly, please confirm:the error you described in the original question only occurred in prod namespace, both when you used `stateLib.init()` and `stateLib.init({ ow: { namespace, auth } })`.there was no error in other namespaces, both when you used `stateLib.init()` and `stateLib.init({ ow: { namespace, auth } })`.

Views

50

Likes

0

Replies

0
Re: Getting DB Provider error with Adobe IO Rest Service
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
@SahithiMalyala - I got your requirement, but why isn't this solution working?In your App Builder project, there are different workspaces for prod, stage, dev, etc. Each comes with its own Runtime namespace.If you deploy your app to a namespace, let's say dev, libState.init (without any param) will automatically pick the dev namespace. And the libState data is specific to that dev namespace only.If you deploy to stage later, you will have fresh data of stage. And the same for prod.In summary, th...

Views

78

Like

1

Replies

2
Re: Adobe IO Runtime URL for AEM SPA SSR
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
@drewglass1 - IO Runtime is part of App Builder, and you can find all related info here: https://www.adobe.io/app-builder/.After the trial request is approved, you will be able to create App Builder project, which contains Runtime actions to render SSR content for AEM.

Views

49

Like

1

Replies

0
Re: Getting DB Provider error with Adobe IO Rest Service
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
@SahithiMalyala - could you try state init without custom ow auth. Simply this:let state = await libState.init();Why do you need to pass the custom Openwhisk namespace + auth?

Views

102

Likes

0

Replies

4
Re: Params are getting picked in shuffled structure from function
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
As discussed in direct conversation: it's expected that the order of key-value pairs in a JSON object is not quaranteed. If the library consuming it requires a specific order in the (stringified) JSON object, you could manually construct a raw string with the desired order, taking values from the original request body.

Views

26

Likes

0

Replies

1
Re: Params are getting picked in shuffled structure from function
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
@Naveen_Srinivas - regarding the different output order of JSON params, that's expected because it's a JSON object, not an array. So the order doesn't really matter here, because you get an item by `params['keyName'].For your second question, your action gets a request body in JSON, so it automatically parses it to a JSON object. The "__ow_body" param is only available and useful for non-JSON request body. See https://github.com/apache/openwhisk/blob/master/docs/webactions.md#http-context for mo...

Views

40

Likes

0

Replies

3
Re: AIO Runtime Caching Configuration- With Cache-Control Header is not working
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
@banerjee_ronit - how are you inspecting the request? using Postman?Please make sure that you un-check "disable cache" in Postman settings (which is checked by default).And also you should make a GET call, not POST.

Views

31

Likes

0

Replies

1
Re: Adobe I/O Runtime Craps Out Randomly
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
@evancooperman-rp - thanks for the feedback. Would be great if you raise this concern to I/O Runtime PM directly (cc @KanikaGera).

Views

48

Likes

0

Replies

1
Re: Adobe I/O Runtime Craps Out Randomly
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
Hi @evancooperman-rp - I would recommend to open a support ticket and share your activation ID, logs, etc. anything that can help to debug the problem further.

Views

78

Likes

0

Replies

4
Re: Setting up OAuth 2.0 key
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
Are you calling the CCLib API from a Runtime action or Firefly app? Otherwise I'm not sure how to help here, because we don't manage the CCLib API. You may try the Creative Cloud Forum or Adobe Enterprise Support.

Views

86

Likes

0

Replies

0
Re: Setting up OAuth 2.0 key
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
Hi @ginux123 - the OAuth playground you are using is hosted on IO Runtime, but it was written by a user "io-solutions". Not sure where you got it from, but you could contact the team / person giving the reference as well as verify Creative Cloud Libs access with your IMS org's admin.

Views

95

Likes

0

Replies

3
Re: Is there any maintenance server scheduled?
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
Any platform update which requires actions by users would be communicated here in the Runtime / Firefly Forum (please make sure you're subscribed to all of them and not just this parent site).The system has autoscaling enabled and overloading should not be an issue.We do not perform maintenance that results in system outage.

Views

116

Likes

0

Replies

1
Re: Is there any maintenance server scheduled?
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
@Naveen_Srinivas - it's unclear to me where you got this log from? ACC or Runtime activation?The error message does not look like one from the Runtime platform.As a side note: regardless of where the error occurs, it's always good to have a decent retry mechanism, so that whenever an error occurs (in any system), your workflow would still carry on.

Views

119

Likes

0

Replies

3
Re: Timeout From Adobe API
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
Hi @AntonyThanislas , @SundarSritharan -If you suspect that the system went down during a particular timeframe, please work with customer / partner support to confirm if there were any incident then.Regarding the platform stability, IO Runtime is in production with an SLA. The system is designed and operated to respect its committed availability. It looks like you are using IO Runtime to handle webhooks from IO Events? You might consider registering your Runtime actions directly for events deliv...

Views

82

Likes

0

Replies

0
Re: Openwisk - Response not yet ready (Sporadic issue)
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
Hi @AntonyThanislas -"Response not yet ready" means your activation is still running, so you should wait a bit more to get the response."There was an error processing your request" means your activation finished with an error. You could check the activation record and logs to see what went wrong.Please note that the default timeout of activations is 1 min. You mentioned that the action is time consuming, so for non-blocking activations (e.g. invoked by CLI, not web requests), you can increase th...

Views

89

Likes

0

Replies

0
Re: Files are still visible through an url
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
Great. I'm glad it worked!

Views

124

Likes

0

Replies

0
Re: Files are still visible through an url
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
It says that you are trying to delete a non-existing file.What's the string that you put here: await files.delete('publicxyz/publicfile.txt') ?

Views

132

Likes

0

Replies

2
Re: Files are still visible through an url
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
Hi @Naveen_Srinivas - which URL are you referring to? presigned URL (containing token to a private file) or direct URL to the public file?Was the file not deleted at all or was it a latency after the deletion until the URL returned a 404?

Views

136

Likes

0

Replies

4
Re: Files are still visible has an url
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
Hi @Naveen_Srinivas - as this is a question about Project Firefly, can you post it in https://experienceleaguecommunities.adobe.com/t5/project-firefly/ct-p/project-firefly?

Views

59

Likes

0

Replies

0
Re: Webhook listener
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
We also support aio-lib-state for key-value store. However that is not a good place for JSON data.If you are writing / reading data asynchronously, you should store them in separate files. I'm not sure how complex your data retrieval will be, but the OOTB Files / State SDK in Firefly are only for simple stuff (not querying, filtering). Instead you may want to bring your own storage solution (Azure Cosmos DB, AWS DynamoDB, etc.)When you go to the Github repo of those SDKs, lots of docs are availa...

Views

171

Likes

0

Replies

1
Re: Webhook listener
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
Is the projected traffic 25 calls / sec constant or only at peak time? You should consider the impact on cost of this approach, because it potentially result in lots of invocations.If that's only for a short period of peak time, please work with @KanikaGera about your use case, current Runtime license and possibility to increase the limits.On the question about storing responses - it's totally up to you to decide based on your needs. You can leverage Firefly Files SDK for that.

Views

189

Likes

0

Replies

3
Re: Webhook listener
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
That could be because your web action was invoked successfully, which by default does not save any record. More details here: https://www.adobe.io/apis/experienceplatform/runtime/docs.html#!adobedocs/adobeio-runtime/master/guides/logging_monitoring.md.

Views

199

Likes

0

Replies

5
Re: How can we use modules inside runtime action?
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe Experience Manager Headless
What @Naveen_Srinivas mentioned is our recommendation as well.Writing your Runtime actions in the Project Firefly structure will help to build and deploy your code automatically, without much effort for adding custom modules.You only need to add the required modules in package.json, and run npm install.This applies to non-Adobe modules as well.

Views

176

Like

1

Replies

0
Re: Event response - Timestamp
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
I suppose this question was answered in the I/O Events Forum: https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-events-questions/journal-api-timestamp-aep/td-p/418671.

Views

65

Likes

0

Replies

0
Re: Webhook listener
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Runtime
Hi @Naveen_Srinivas - if you want to make your Runtime action a webhook listener, the only requirement is to make it a web action which can be called via HTTP. See https://www.adobe.io/apis/experienceplatform/runtime/docs.html#!adobedocs/adobeio-runtime/master/guides/creating_actions.md#invoking-web-actions.I assume you don't use I/O Events for these non-Adobe triggers. If they are through I/O Events, there could be better alternatives than webhook listeners, namely Journal API and Runtime actio...

Views

210

Likes

0

Replies

7
Re: Website Analytics
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
Hi @kishoreindraganti - Project Firefly does not support website analytics OOTB. You could try Adobe Analytics or other solutions.

Views

92

Likes

0

Replies

0
Re: Query Service - UI - Limiation
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
Hi @kishoreindraganti - this could be a good question in the AEP Forum: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform/ct-p/adobe-experience-platform-community.

Views

94

Likes

0

Replies

0
Re: project firefly API fetch more than one event.
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Adobe I/O Cloud Extensibility
Hi @ZHENGJIAN_LIU , just to have more context about your question - which API are you referring to? Is it I/O Events Journaling API?

Views

107

Likes

0

Replies

0
Re: Auth error: 401 with or without extension
Avatar
Give Back 200
Employee
duypnguyen
Employee

Likes

40 likes

Total Posts

206 posts

Correct reply

35 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Boost 25
View profile
duypnguyen
- Project Firefly
I could somewhat reproduce the issue. It didn't help to be a user / developer / admin of the single product profiles. I got around it by being an admin of the entire product (such as Campaign Standard or Analytics). I'm verifying with the auth back-end team as this is quite unexpected.

Views

157

Likes

0

Replies

0