Skip to content

All journeys export failures #486

@atomicsamurai

Description

@atomicsamurai

Frodo CLI version

You are running the homebrew release.
cli: v3.0.3
lib: v3.0.3
node: v20.18.0

Describe the issue

When exporting all journeys with -A, if one or more of the journeys fail, nothing is exported, even though the export seems to continue after the failed journey.

$ frodo journey export -A -D . --curlirize yyc
curl -X GET -H "Accept:application/json, text/plain, */*" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/3.0.3" -H "X-ForgeRock-TransactionId:frodo-98676a15-e027-4f86-b7bc-f9c975f35f11" -H "Accept-API-Version:resource=1.1" "https://openam-yyc-dev.forgeblocks.com/am/json/serverinfo/*"
200 OK
.
.
.
200 OK
curl -X GET -H "Accept:application/json, text/plain, */*" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/3.0.3" -H "X-ForgeRock-TransactionId:frodo-98676a15-e027-4f86-b7bc-f9c975f35f11" -H "Accept-API-Version:protocol=2.0,resource=1.0" -H "Auth"
curl -X GET -H "Accept:application/json, text/plain, */*" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/3.0.3" -H "X-ForgeRock-TransactionId:frodo-98676a15-e027-4f86-b7bc-f9c975f35f11" -H "Authorization:Bearer eyJ0eXAiOiJKV1QiLCJlbmMiOiJBMTI4Q"
200 OK
[==================----------------------] 45% | 37/82 | Exporting journey ExportTesting404 Not Found - Not Found
Object [AxiosHeaders] {
  date: 'Mon, 24 Mar 2025 16:05:04 GMT',
  'cache-control': 'no-store',
  'content-api-version': 'protocol=2.1,resource=1.0',
  'content-security-policy': "default-src 'none';frame-ancestors 'none';sandbox",
  'content-type': 'application/json;charset=utf-8',
  'cross-origin-opener-policy': 'same-origin',
  'cross-origin-resource-policy': 'same-origin',
  expires: '0',
  pragma: 'no-cache',
  'x-content-type-options': 'nosniff',
  'x-frame-options': 'DENY',
  'content-length': '55',
  'x-forgerock-transactionid': 'frodo-98676a15-e027-4f86-b7bc-f9c975f35f11',
  'strict-transport-security': 'max-age=31536000; includeSubDomains; preload;',
  'x-robots-tag': 'none',
  via: '1.1 google',
  'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
}
200 OK
curl -X GET -H "Accept:application/json, text/plain, */*" -H "Content-Type:application/json" -H "User-Agent:@rockcarver/frodo-lib/3.0.3" -H "X-ForgeRock-TransactionId:frodo-98676a15-e027-4f86-b7bc-f9c975f35f11" -H "Accept-API-Version:protocol=2.1,resource=1.0" -H "Auth"
200 OK
.
.
.
200 OK
Error exporting journeys
  Error exporting journey ExportTesting
  HTTP client error
    Code: ERR_BAD_REQUEST
    Status: 404
    Reason: Not Found
[========================================] 100% | 82/82 | Error exporting journeys.

At the end of the process, no files are created.
STDOUT/STDERR from the above is attached.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions