- Documentation
- Cloud Vault
- API Reference
- GitHub
Transactions
Buyers
Checkout Sessions
Payment options
Refunds
Card schemes
Digital wallets
Gift cards
Payment methods
Payment method definitions
Account updater
Network tokens
Payment service tokens
Vault Forwarding
All services
Payment service definitions
Payment services
Digital wallets
Anti-fraud services
Gift-card services
Flow
Merchant accounts
Reports
Report executions
Payments
Instruments
Vault
Connections
Dashboard
List 4XX errors
Returns a list of API 4XX and 5XX logs.
curl --request GET \
--url https://api.{gr4vy_id}.gr4vy.app/api-logs \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"type": "api-log",
"id": "8d3fe99b-1422-42e6-bbb3-932d95ae5f79",
"request_method": "POST",
"request_url": "http://api.wpay.gr4vy.app/transactions",
"request_received_at": "2022-01-01T00:00:00+00:00",
"response_status_code": 400,
"response_body": {
"code": "bad_request",
"message": "Request failed validation",
"status": 400,
"type": "error",
"details": {
"pointer": "/payment_method/number",
"message": "ensure this value has at least 13 characters",
"location": "body",
"type": "value_error.any_str.min_length"
}
},
"response_sent_at": "2022-01-01T00:00:10+00:00"
}
]
}
This endpoint requires the api-logs.read
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
A list of API log entries.
api-log
.
api-log
The ID of the API log entry.
The http request method that generated the log entry.
The http request URL which trigged the error log.
The date and time that the request was received.
The http request status code.
The JSON response body for the log entry.
The error code.
The error message.
The HTTP error code.
Type of the log entry.
Details of the log entry, stack trace and endpoint.
Log's pointer.
Detailed message on the log entry.
Location on where the error happened.
Detailed error type that is specified in the log entry.
date-time of when the response was sent.
Was this page helpful?
curl --request GET \
--url https://api.{gr4vy_id}.gr4vy.app/api-logs \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"type": "api-log",
"id": "8d3fe99b-1422-42e6-bbb3-932d95ae5f79",
"request_method": "POST",
"request_url": "http://api.wpay.gr4vy.app/transactions",
"request_received_at": "2022-01-01T00:00:00+00:00",
"response_status_code": 400,
"response_body": {
"code": "bad_request",
"message": "Request failed validation",
"status": 400,
"type": "error",
"details": {
"pointer": "/payment_method/number",
"message": "ensure this value has at least 13 characters",
"location": "body",
"type": "value_error.any_str.min_length"
}
},
"response_sent_at": "2022-01-01T00:00:10+00:00"
}
]
}