311-data
311-data copied to clipboard
TyperError: Cannot read properties of undefined (reading 'status') in action GET_METADATA_FAILURE
Describe the bug
The error appears in the browser console:
TyperError: Cannot read properties of undefined (reading 'status')
To Reproduce Steps to reproduce the behavior:
- Turn off your network connection (or place in airplane mode)
- Start the client locally (per instructions)
- Open the site in Google Chrome and open the inspect window (F12 or Right-click > Inspect)
- Go to the
Console
tab of the inspect window - Notice the error message (image of console error)
Expected behavior No error message
Screenshots
Desktop (please complete the following information):
- OS: Linux
- Browser Chrome
- Version 105.0.5195.52 (Official Build) (64-bit)
Additional context
after doing some research, this can be corrected with optional chaining of the status property like this response?.status
Hey @edwinjue Do you have an update for us on this issue?
Please update:
- Progress:
- Blockers:
- Availability:
- ETA:
Thanks!