You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.
Hello, during the usage of your API instance on Heroku, some of my requests obtained a 500 Internal Error, caused by an invalid array length.
In the species endpoint, with the following request I got the following response: /species?fields=IPcJyhzl&limit=-824525682274219948
RangeError: Invalid array length
at Function.router.render (/app/src/app.js:46:19)
at /app/node_modules/json-server/src/server/router/index.js:77:12
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/app/node_modules/express/lib/router/index.js:317:13)
at /app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)
at next (/app/node_modules/express/lib/router/index.js:275:10)
at /app/node_modules/express/lib/router/index.js:635:15
at next (/app/node_modules/express/lib/router/index.js:260:14)
at next (/app/node_modules/express/lib/router/route.js:127:14)
In the locations endpoint, with the following request I got the following response: /locations?fields=tqkdIGXe&limit=-5144637366675912606
RangeError: Invalid array length
at Function.router.render (/app/src/app.js:46:19)
at /app/node_modules/json-server/src/server/router/index.js:77:12
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/app/node_modules/express/lib/router/index.js:317:13)
at /app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)
at next (/app/node_modules/express/lib/router/index.js:275:10)
at /app/node_modules/express/lib/router/index.js:635:15
at next (/app/node_modules/express/lib/router/index.js:260:14)
at next (/app/node_modules/express/lib/router/route.js:127:14)
The text was updated successfully, but these errors were encountered:
davidecorradini
changed the title
500 Internal Error cased by invalid array lenght
500 Internal Error caused by invalid array lenght
Feb 9, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, during the usage of your API instance on Heroku, some of my requests obtained a 500 Internal Error, caused by an invalid array length.
In the species endpoint, with the following request I got the following response:
/species?fields=IPcJyhzl&limit=-824525682274219948
In the locations endpoint, with the following request I got the following response:
/locations?fields=tqkdIGXe&limit=-5144637366675912606
The text was updated successfully, but these errors were encountered: