Closed
Description
📜 Description
We are able to see 500 http status code in fetch resource tree api and cd trigger api with error msg as context cancelled and context deadline exceeded respectively.
👟 Reproduction steps
for reproducing context deadline exceeded in fetch resource tree api, just change the value of TIMEOUT_IN_SECONDS in orch cm as 0.1 or very less sec, this will throw context deadline exceeded error(similar to context cancelled err)
👍 Expected behavior
Proper 4xx status code should be sent in these responses
👎 Actual Behavior
Internal server error status code coming in the response
☸ Kubernetes version
1.26
Cloud provider
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find any similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
AB#9711