Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when pushing AM service that doesn't yet exist #218

Open
kevswiss opened this issue Nov 8, 2024 · 1 comment
Open

Error when pushing AM service that doesn't yet exist #218

kevswiss opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kevswiss
Copy link
Collaborator

kevswiss commented Nov 8, 2024

sException processing request to https://openam-computershare-use1-dev.id.forgerock.io/am/json/realms/root/realms/alpha/realm-config/services/amSessionPropertyWhitelist{ code: 404, reason: 'Not Found', message: 'Not Found' }{ message: 'Request failed with status code 404', name: 'AxiosError', description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, stack: 'AxiosError: Request failed with status code 404\n' + ' at settle (/home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/node_modules/axios/dist/node/axios.cjs:2019:12)\n' + ' at IncomingMessage.handleStreamEnd (/home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/node_modules/axios/dist/node/axios.cjs:3135:11)\n' + ' at IncomingMessage.emit (node:events:529:35)\n' + ' at endReadableNT (node:internal/streams/readable:1400:12)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n' + ' at Axios.request (/home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/node_modules/axios/dist/node/axios.cjs:4287:41)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async httpRequest (/home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/packages/fr-config-common/src/restClient.js:109:20)\n' + ' at async /home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/packages/fr-config-push/src/scripts/update-services.js:54:11\n' + ' at async Promise.all (index 1)\n' + ' at async updateServices (/home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/packages/fr-config-push/src/scripts/update-services.js:43:7)\n' + ' at async updateStatic (/home/cicdadmin/.nvm/versions/node/v18.20.4/lib/node_modules/@forgerock/fr-config-manager/packages/fr-config-push/src/index.js:48:3)', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', Authorization: 'Bearer *** 'Accept-API-Version': 'protocol=1.0,resource=1.0', 'User-Agent': 'axios/1.7.7', 'Content-Length': '286', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'put', url: 'https://openam-computershare-use1-dev.id.forgerock.io/am/json/realms/root/realms/alpha/realm-config/services/amSessionPropertyWhitelist', data: '{"_id":"","_type":{"_id":"amSessionPropertyWhitelist","collection":false,"name":"Session Property Whitelist Service"},"sessionPropertyWhitelist":["AMCtxId"],"whitelistedQueryProperties":[]}' }, code: 'ERR_BAD_REQUEST', status: 404}

@kevswiss kevswiss added the bug Something isn't working label Nov 8, 2024
@christian-brindley
Copy link
Collaborator

What version of fr-config-push is this? Is it a duplicate of #207?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants