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
I got this error when I use the minfraud insights api, but not always, just from time to time. It looks like the response does not have the correct format so is not being correctly parsed.
I was using version 3.2.0 and I upgraded to 3.4.0 but it didn't fixed the issue
TypeError: Cannot read property 'continent' of undefined at new Country (/code/node_modules/@maxmind/geoip2-node/dist/src/models/Country.js:10:44) at new City (/code/node_modules/@maxmind/geoip2-node/dist/src/models/City.js:7:9) at new Insights (/code/node_modules/@maxmind/geoip2-node/dist/src/models/Insights.js:6:9) at Insights.getIpAddress (/code/node_modules/@maxmind/minfraud-api-node/dist/src/response/models/insights.js:22:26) at new Insights (/code/node_modules/@maxmind/minfraud-api-node/dist/src/response/models/insights.js:13:31) at IncomingMessage.response.on (/code/node_modules/@maxmind/minfraud-api-node/dist/src/webServiceClient.js:60:36) at IncomingMessage.emit (events.js:203:15) at IncomingMessage.EventEmitter.emit (domain.js:448:20) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19)
I got this error when I use the minfraud insights api, but not always, just from time to time. It looks like the response does not have the correct format so is not being correctly parsed.
I was using version 3.2.0 and I upgraded to 3.4.0 but it didn't fixed the issue
TypeError: Cannot read property 'continent' of undefined at new Country (/code/node_modules/@maxmind/geoip2-node/dist/src/models/Country.js:10:44) at new City (/code/node_modules/@maxmind/geoip2-node/dist/src/models/City.js:7:9) at new Insights (/code/node_modules/@maxmind/geoip2-node/dist/src/models/Insights.js:6:9) at Insights.getIpAddress (/code/node_modules/@maxmind/minfraud-api-node/dist/src/response/models/insights.js:22:26) at new Insights (/code/node_modules/@maxmind/minfraud-api-node/dist/src/response/models/insights.js:13:31) at IncomingMessage.response.on (/code/node_modules/@maxmind/minfraud-api-node/dist/src/webServiceClient.js:60:36) at IncomingMessage.emit (events.js:203:15) at IncomingMessage.EventEmitter.emit (domain.js:448:20) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19)
maxmind/GeoIP2-node#415
The text was updated successfully, but these errors were encountered: