rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
17 stars 16 forks source link

Error getting config entity org.apache.felix.fileinstall/openidm: AxiosError: Request failed with status code 404 #203

Closed mtwilson6491 closed 1 year ago

mtwilson6491 commented 1 year ago

Frodo Library version

frodo -v You seem to be running the binary package Installed versions: cli: v0.20.1 lib: v0.18.1 node: v18.5.0

Describe the issue

frodo idm export -A -D alpha. results in a list of 404 errors but still exports config items.

mark.wilson@C02F20Q4MD6W ~ % frodo idm export -A -D ~/Documents/_Projects/Sandbox mwilsontc Connected to https://openam-mwilsontc.forgeblocks.com/am [alpha] as user mark.wilson@forgerock.com ⠙ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity script: AxiosError: Request failed with status code 404 ⠸ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity notificationFactory: AxiosError: Request failed with status code 404 { code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity endpoint/validateQueryFilter: AxiosError: Request failed with status code 404 ⠦ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity repo.init: AxiosError: Request failed with status code 404 { code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity apiVersion: AxiosError: Request failed with status code 404 ⠧ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity org.apache.felix.fileinstall/openidm: AxiosError: Request failed with status code 404 ⠇ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity external.rest: AxiosError: Request failed with status code 404 { code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity endpoint/mappingDetails: AxiosError: Request failed with status code 404 { code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity metrics: AxiosError: Request failed with status code 404 { code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity endpoint/oauthproxy: AxiosError: Request failed with status code 404 { code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity scheduler: AxiosError: Request failed with status code 404 ⠏ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity cluster: AxiosError: Request failed with status code 404 ⠋ Exporting config objects...{ code: 404, reason: 'Not Found', message: 'Not Found' } Error getting config entity fieldPolicy/teammember: AxiosError: Request failed with status code 404 ✔ Exported config objects.

vscheuber commented 1 year ago

The error is cosmetic. A fix should suppress the output to not unnecessarily alarm the user.