Requests
Every request your system made with your API keys in the last 30 days, with its result and how to fix errors.
In «Consultas» ("Requests") in the developer console you see, one by one, the requests that reached the API with your API keys: what your system asked for, with which key, whether it worked, and how long it took. It helps you find why your integration fails without digging through your own system.
Before you start
- Open the developer console and tap «Consultas» in the side menu.
- The «Ver integraciones de la agencia» ("See the agency's integrations") permission is enough.
- We keep requests for 30 days. We don't keep what your system sent or what we answered: only what it asked for, the result, and how long it took.
- Each request shows up a few seconds after your system makes it.
- Only requests that came with a valid API key from your agency show up. If your system uses a revoked or wrong key, those requests can't be tied to your agency and don't show up here; your system gets a 401 error.
Filter
At the top you pick what to see and tap «Filtrar» ("Filter"):
- «Resultado» ("Result"): «Todas» ("All"), «Correctas» ("Successful"), or «Con error» ("With errors").
- «API key»: all of them or just one, revoked ones included.
- «Permiso» ("Permission"): all or one of your plan's permissions.
- «Fecha» ("Date"): «Hoy» ("Today"), «Últimos 7 días» ("Last 7 days"), or «Últimos 30 días» ("Last 30 days").
With a filter on, «Limpiar filtros» ("Clear filters") shows up. The page address keeps the filters, so you can send the link to whoever builds your system.
The list
Newest first, 50 per page. Each row has:
- The result with its number: green for successful ones (200 to 299), amber for ones we rejected because of something in the request (400 to 499), and red for ones that failed on our side (500 or more).
- The request: the method (
GET,POST,PUT,DELETE) and the address it asked for, for exampleGET /api/v1/inventario. - The API key it came with.
- How long it took, in milliseconds.
- The date and time, with seconds.
On small screens the key and the duration are hidden. At the bottom are «Más recientes» ("Newer") and «Más antiguas» ("Older") to move between pages.
The details
Tap a row to see its details, next to the list on large screens or above it on small ones:
- «Fecha» ("Date"), «API key», «Permiso» ("Permission"), «Resultado» ("Result"), and «Duración» ("Duration").
- «Código de error» ("Error code"), if there was one: the same code your system got, for example
limite_por_hora, with what it means. - «Cómo resolverlo» ("How to fix it"): what to do and a link to the guide that explains it, for example «Autenticación y permisos» ("Authentication and permissions") or «Límites por plan» ("Limits by plan").
Tap «Cerrar» ("Close") to go back to the list.
One may be missing
If your system makes many requests in a short time, one may be missing here. «Uso» ("Usage") counts them all.
The usual case
permiso_faltante: its API key doesn't have «Cambiar tu inventario» ("Change your inventory"). You create another one with that permission and put it in your system.Something doesn't work the first time
Worst case
Special case