LinkedIn · Schema

ErrorResponse

ErrorResponse from LinkedIn API

BusinessCareersMarketingProfessional NetworkingRecruitingSocial MediaFortune 1000

Properties

Name Type Description
status integer HTTP status code
message string Error message
serviceErrorCode integer LinkedIn service error code
View JSON Schema on GitHub

JSON Schema

linkedin-regulatory-ads-transparency-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/linkedin/refs/heads/main/json-schema/linkedin-regulatory-ads-transparency-error-response-schema.json",
  "title": "ErrorResponse",
  "description": "ErrorResponse from LinkedIn API",
  "type": "object",
  "properties": {
    "status": {
      "type": "integer",
      "description": "HTTP status code",
      "example": 400
    },
    "message": {
      "type": "string",
      "description": "Error message",
      "example": "Invalid sponsored account ID"
    },
    "serviceErrorCode": {
      "type": "integer",
      "description": "LinkedIn service error code",
      "example": 100
    }
  }
}