Productsup
Platform API

Site errors

Retrieve site errors using the Platform API.

2 min read

The site errors endpoint lets you retrieve the most recent errors for a site or look up errors from a specific process run.

Get

Use a GET request to list errors for a site. See Sites for how to identify sites.

curl https://platform-api.productsup.io/platform/v2/sites/123/errors
{
    "success": true,
    "Errors": [
        {
            "id": "1802017",
            "pid": "537cb0659a7dc",
            "error": "10012",
            "data": {"FTP Host":"sftp://example.org","User":"sftpuser"},
            "site_id": "123",
            "datetime": "2003-11-15 00:00:00",
            "type": "Error",
            "classification": "medium",
            "links": [{...}]
        },
        ...
    ]
}

HTTP request

GET https://platform-api.productsup.io/platform/v2/sites/<siteId>/errors

GET https://platform-api.productsup.io/platform/v2/sites/<siteId>/errors?pid=<pid>&limit=<limit>&offset=<offset>

URL parameters

NameTypeDescription
siteIdintegerSite to retrieve errors for

Optional query parameters

NameExampleDefaultDescription
pidabc456def(latest)Process ID. Defaults to the latest process.
limit1050Maximum number of results
offset200Results begin at this position

Response fields

FieldTypeDescription
successbooleanIndicates request status
ErrorsarrayList of errors

Error fields

FieldTypeDescription
idintegerInternal identifier
pidstringProcess identifier
errorintegerError identifier
dataarrayAdditional information about the error
site_idintegerSite identifier
messagestringUser-facing error message
datetimestringDate and time the error occurred
typestringType of error (Error, Warning, or Info)
classificationstringSeverity of the error (low, medium, or high)
linksarraySee link fields
NameDescription
selfLink to the error endpoint

On this page

Still stuck?

Reach out to our support team and we’ll help you get unstuck.

Contact support