Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Caused by: Error: Could not find Application "application-name-here". #158

Closed
austinkelleher opened this issue May 18, 2021 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@austinkelleher
Copy link
Contributor

Step ID: fetch-app-engine-services

Stack:

Error: Provider API failed at UNKNOWN: UNKNOWN UNKNOWN
at handleError (/opt/jupiterone/app/node_modules/@jupiterone/graph-google-cloud/dist/google-cloud/client.js:74:15)
at /opt/jupiterone/app/node_modules/@jupiterone/graph-google-cloud/dist/google-cloud/client.js:48:13
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Caused by: Error: Could not find Application "application-name-here".
at Gaxios._request (/opt/jupiterone/app/node_modules/gaxios/build/src/gaxios.js:112:23)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async JWT.requestAsync (/opt/jupiterone/app/node_modules/google-auth-library/build/src/auth/oauth2client.js:343:18)
at async /opt/jupiterone/app/node_modules/@jupiterone/graph-google-cloud/dist/google-cloud/client.js:45:20
at async AppEngineClient.iterateApi (/opt/jupiterone/app/node_modules/@jupiterone/graph-google-cloud/dist/google-cloud/client.js:10:24)
at async AppEngineClient.iterateAppEngineServices (/opt/jupiterone/app/node_modules/@jupiterone/graph-google-cloud/dist/steps/app-engine/client.js:21:9)
at async Object.fetchAppEngineServices [as executionHandler] (/opt/jupiterone/app/node_modules/@jupiterone/graph-google-cloud/dist/steps/app-engine/index.js:64:5)
at async executeStep (/opt/jupiterone/app/node_modules/@jupiterone/integration-sdk-runtime/dist/src/execution/dependencyGraph.js:199:17)
at async Object.timeOperation (/opt/jupiterone/app/node_modules/@jupiterone/integration-sdk-runtime/dist/src/metrics/index.js:6:12)

I think that if we receive a 404 from the API, we should ignore this application and not fail. It would probably be nice to log (not publish an event), for which application services we could not fetch.

@austinkelleher austinkelleher added the bug Something isn't working label May 18, 2021
austinkelleher added a commit that referenced this issue May 19, 2021
…p-engine-error-handling

Upgrade Cloud Run keys, handle App Engine project not found error - Fix #151, #158
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant