-
Notifications
You must be signed in to change notification settings - Fork 471
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
Receiving 'RangeError: invalid ISO 8601 string' via API for Numbers-only Strings #171
Comments
same issue. |
ChatGPT helps:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
running locally, I POST an pretty big JSON to the API. Some of my Strings in the JSON have Number-Characters only (userIDs).
When opening the link, console is showing a lot of 'RangeError: invalid ISO 8601 string: 12345' - warnings/ errors.
It takes up to one minute to open the link, npm service is running on 100% CPU usage
On the site, I see that the program interprets my Number-Strings as Date-Objects (string/datetime/rfc3339). Example: {"lastModifiedBy": "12345678"}
My actual date strings in there are ISO 8601-formated. Maybe a workaround could be to add a parameter to state the date format. To let the backend know which Strings to parse as dates and leave the rest as normal text?
The text was updated successfully, but these errors were encountered: