Auth0 Home Blog Docs

Location_info missing in search logs API (/api/v2/logs)

#1

Hi, I’m trying to retrieve the location_info data using the search logs API (/api/v2/logs). According to the documentation, the response should contain location_info but when I test it, it is missing. Do I need to specify any additional parameters to get this data?

#3

Hey there @hercules!

The API you’re using is Management API and you’re hitting the logs endpoint. You are right about the response however you need to take into account the fact that is optional and is stored as additional metadata so the dictionary may be empty.

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.