- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I digged into the issue (I was able to enable debug logging for shared validators used in the actions sequence for my worker) and my findings are:
- The asset-compute service invocation from AssetCompute Devtool works fine
- The service calls my worker, but the /adobeio/shared-validators-v1/headless throws 403 as my input IMS Org Id doesn't match to something - seems that it tries to match to string "true", see the log I captured. I obfuscated sensitive data and my actual organization. Most important is the line that it's a little bit odd: "input IMS org id '<MY_IMS_ORG>@AdobeOrg' does not match app IMS org id 'true'" (of course it consists my ims org)
2020-08-06T07:10:36.324Z stdout: 2020-08-06T07:10:36.324Z [main /adobeio/shared-validators-v1/headless] info: Calling the main action
2020-08-06T07:10:36.325Z stdout: 2020-08-06T07:10:36.325Z [main /adobeio/shared-validators-v1/headless] debug: params: {
"source":{
"mimetype":"application/octet-stream",
"name":"20200514_085516.jpg",
"size":1671305,
"url":"https://XXXXXXXXX.blob.core.windows.net/firefly/source/20200514_085516.jpg?sv=2019-02-02&spr=https&se=2020-08-06T09%3A10%3A35Z&sr=b&sp=r&sig=XXXXXXXXXXX"
},
"__ow_method":"post",
"userData":{
"assetComputeClient":{
"id":"74b0c0c0-d7b3-11ea-8b8c-df7dcfc540c3"
}
},
"newRelicEventsURL":"https://insights-collector.newrelic.com/v1/accounts/2045220/events",
"__ow_headers":{
"accept":"*/*",
"accept-encoding":"gzip, deflate",
"authorization":"<hidden>",
"connection":"close",
"content-type":"application/json",
"host":"controller-a",
"perf-br-req-in":"1596697835.969",
"user-agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
"x-app-name":"Project_1596623723209J1",
"x-forwarded-for":"X.X.X.X, X.X.X.X",
"x-forwarded-host":"XXXXXXXXX-dev.adobeioruntime.net",
"x-forwarded-port":"443",
"x-forwarded-proto":"https",
"x-gw-ims-org-id":"<MY_IMS_ORG>@AdobeOrg",
"x-gw-ims-org-name":"<MY ORG NAME> Sandbox",
"x-real-ip":"10.250.204.164",
"x-request-id":"9zA6pY2h61iFaS9cmL8NGyd0m5Or2Ja7"
},
"times":{
"core":"2020-08-06T07:10:35.849Z",
"gateway":"2020-08-06T07:10:35.000Z",
"process":"2020-08-06T07:10:35.817Z"
},
"__ow_path":"",
"renditions":[
{
"name":"rendition.jpg",
"target":"https://XXXXXX.blob.core.windows.net/firefly/rendition/20200514_085516.jpg/XXXXXXXXXX/0/rendition.jpg?sv=2019-02-02&spr=https&se=2020-08-06T09%3A10%3A35Z&sr=b&sp=cw&sig=XXXXXXXX&comp=block&blockid=XXXXXX",
"userData":{
"assetComputeClient":{
"index":0,
"length":1
},
"path":"rendition/20200514_085516.jpg/XXXXXXXX/0/rendition.jpg"
},
"worker":"https://XXXXXXXX-dev.adobeioruntime.net/api/v1/web/AEMMczAssetCompute-0.0.1/mcz-aem-asset-computer-worker?__VALIDATOR_LOG_LEVEL=debug"
}
],
"newRelicApiKey":"4iUx7ZvvK_PJ-FPLFDizxO3HllDa9LGN"
}
2020-08-06T07:10:38.901Z stdout: 2020-08-06T07:10:38.901Z [main /adobeio/shared-validators-v1/headless] info: input IMS org id '<MY_IMS_ORG>@AdobeOrg' does not match app IMS org id 'true'
2020-08-06T07:10:38.902Z stdout: 2020-08-06T07:10:38.902Z [main /adobeio/shared-validators-v1/headless] info: 403: request is invalid, failed authorization. Please use a valid JWT or user access token for this headless application.
Views
Replies
0 Likes
Total Likes