Discussions

Ask a Question
Back to All

Endpoint request timed out

Hi Sellbrite support team,

We've encountered "Endpoint request timed out" recently when pulling products through this endpoint
https://api.sellbrite.com/v1/products?page=24&limit=100

Is there any changes with rate limit or something else?

Here is stack trace of the error.

Please help.

Thank you,

Wildan

          {
  "Data": [
    {
      "id": null,
      "sku": null,
      "asin": null,
      "condition": null,
      "brand": null,
      "manufacturer": null,
      "manufacturer_model_number": null,
      "name": null,
      "description": null,
      "price": null,
      "cost": null,
      "package_length": null,
      "package_width": null,
      "package_height": null,
      "package_unit_of_length": null,
      "package_weight": null,
      "package_unit_of_weight": null,
      "msrp": null,
      "category_name": null,
      "warranty": null,
      "condition_note": null,
      "upc": null,
      "ean": null,
      "isbn": null,
      "gtin": null,
      "gcid": null,
      "epid": null,
      "parent_sku": null,
      "SB_Inventory": []
    }
  ],
  "Request": {
    "AlwaysMultipartFormData": false,
    "JsonSerializer": {
      "DateFormat": null,
      "RootElement": null,
      "Namespace": null,
      "ContentType": "application/json"
    },
    "XmlSerializer": {
      "RootElement": null,
      "Namespace": null,
      "DateFormat": null,
      "ContentType": "text/xml"
    },
    "ResponseWriter": null,
    "UseDefaultCredentials": false,
    "Parameters": [
      {
        "Name": "page",
        "Value": 24,
        "Type": 1,
        "ContentType": null
      },
      {
        "Name": "limit",
        "Value": 100,
        "Type": 1,
        "ContentType": null
      },
      {
        "Name": "Authorization",
        "Value": "Basic abc",
        "Type": 3,
        "ContentType": null
      },
      {
        "Name": "Accept",
        "Value": "application/json, application/xml, text/json, text/x-json, text/javascript, text/xml",
        "Type": 3,
        "ContentType": null
      }
    ],
    "Files": [],
    "Method": 0,
    "Resource": "products",
    "RequestFormat": 1,
    "RootElement": null,
    "OnBeforeDeserialization": {
      "Delegate": {},
      "method0": {
        "Name": "<.ctor>b__0",
        "AssemblyName": "RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null",
        "ClassName": "RestSharp.RestRequest",
        "Signature": "Void <.ctor>b__0(RestSharp.IRestResponse)",
        "Signature2": "System.Void <.ctor>b__0(RestSharp.IRestResponse)",
        "MemberType": 8,
        "GenericArguments": null
      }
    },
    "DateFormat": null,
    "XmlNamespace": null,
    "Credentials": null,
    "UserState": null,
    "Timeout": 0,
    "ReadWriteTimeout": 0,
    "Attempts": 1
  },
  "ContentType": "application/json",
  "ContentLength": 41,
  "ContentEncoding": "",
  "Content": "{\"message\": \"Endpoint request timed out\"}",
  "StatusCode": 504,
  "StatusDescription": "Gateway Timeout",
  "RawBytes": "eyJtZXNzYWdlIjogIkVuZHBvaW50IHJlcXVlc3QgdGltZWQgb3V0In0=",
  "ResponseUri": "https://api.sellbrite.com/v1/products?page=24&limit=100",
  "Server": "",
  "Cookies": [],
  "Headers": [
    {
      "Name": "Connection",
      "Value": "keep-alive",
      "Type": 3,
      "ContentType": null
    },
    {
      "Name": "x-amzn-RequestId",
      "Value": "2f81fcc6-e437-4953-8f5c-fd52c3c96b3f",
      "Type": 3,
      "ContentType": null
    },
    {
      "Name": "x-amzn-ErrorType",
      "Value": "InternalServerErrorException",
      "Type": 3,
      "ContentType": null
    },
    {
      "Name": "x-amz-apigw-id",
      "Value": "Kg3x9ENdvHcFUrA=",
      "Type": 3,
      "ContentType": null
    },
    {
      "Name": "Content-Length",
      "Value": "41",
      "Type": 3,
      "ContentType": null
    },
    {
      "Name": "Content-Type",
      "Value": "application/json",
      "Type": 3,
      "ContentType": null
    },
    {
      "Name": "Date",
      "Value": "Fri, 17 Dec 2021 21:52:15 GMT",
      "Type": 3,
      "ContentType": null
    }
  ],
  "ResponseStatus": 1,
  "ErrorMessage": null,
  "ErrorException": null
}{
  "ClassName": "System.Exception",
  "Message": "{\"Data\":[{\"id\":null,\"sku\":null,\"asin\":null,\"condition\":null,\"brand\":null,\"manufacturer\":null,\"manufacturer_model_number\":null,\"name\":null,\"description\":null,\"price\":null,\"cost\":null,\"package_length\":null,\"package_width\":null,\"package_height\":null,\"package_unit_of_length\":null,\"package_weight\":null,\"package_unit_of_weight\":null,\"msrp\":null,\"category_name\":null,\"warranty\":null,\"condition_note\":null,\"upc\":null,\"ean\":null,\"isbn\":null,\"gtin\":null,\"gcid\":null,\"epid\":null,\"parent_sku\":null,\"SB_Inventory\":[]}],\"Request\":{\"AlwaysMultipartFormData\":false,\"JsonSerializer\":{\"DateFormat\":null,\"RootElement\":null,\"Namespace\":null,\"ContentType\":\"application/json\"},\"XmlSerializer\":{\"RootElement\":null,\"Namespace\":null,\"DateFormat\":null,\"ContentType\":\"text/xml\"},\"ResponseWriter\":null,\"UseDefaultCredentials\":false,\"Parameters\":[{\"Name\":\"page\",\"Value\":24,\"Type\":1,\"ContentType\":null},{\"Name\":\"limit\",\"Value\":100,\"Type\":1,\"ContentType\":null},{\"Name\":\"Authorization\",\"Value\":\"Basic abc\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Accept\",\"Value\":\"application/json, application/xml, text/json, text/x-json, text/javascript, text/xml\",\"Type\":3,\"ContentType\":null}],\"Files\":[],\"Method\":0,\"Resource\":\"products\",\"RequestFormat\":1,\"RootElement\":null,\"OnBeforeDeserialization\":{\"Delegate\":{},\"method0\":{\"Name\":\"<.ctor>b__0\",\"AssemblyName\":\"RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null\",\"ClassName\":\"RestSharp.RestRequest\",\"Signature\":\"Void <.ctor>b__0(RestSharp.IRestResponse)\",\"Signature2\":\"System.Void <.ctor>b__0(RestSharp.IRestResponse)\",\"MemberType\":8,\"GenericArguments\":null}},\"DateFormat\":null,\"XmlNamespace\":null,\"Credentials\":null,\"UserState\":null,\"Timeout\":0,\"ReadWriteTimeout\":0,\"Attempts\":1},\"ContentType\":\"application/json\",\"ContentLength\":41,\"ContentEncoding\":\"\",\"Content\":\"{\\\"message\\\": \\\"Endpoint request timed out\\\"}\",\"StatusCode\":504,\"StatusDescription\":\"Gateway Timeout\",\"RawBytes\":\"eyJtZXNzYWdlIjogIkVuZHBvaW50IHJlcXVlc3QgdGltZWQgb3V0In0=\",\"ResponseUri\":\"https://api.sellbrite.com/v1/products?page=24&limit=100\",\"Server\":\"\",\"Cookies\":[],\"Headers\":[{\"Name\":\"Connection\",\"Value\":\"keep-alive\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-RequestId\",\"Value\":\"2f81fcc6-e437-4953-8f5c-fd52c3c96b3f\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-ErrorType\",\"Value\":\"InternalServerErrorException\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amz-apigw-id\",\"Value\":\"Kg3x9ENdvHcFUrA=\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Length\",\"Value\":\"41\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Type\",\"Value\":\"application/json\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Date\",\"Value\":\"Fri, 17 Dec 2021 21:52:15 GMT\",\"Type\":3,\"ContentType\":null}],\"ResponseStatus\":1,\"ErrorMessage\":null,\"ErrorException\":null}",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at WebApi.App_Start.SyncProductCharaceristics.PullSellBriteProducts() in C:\\sources\\MyApp\\WebApi\\App_Start\\SyncProductCharaceristics.cs:line 762",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8\nPullSellBriteProducts\nWebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nWebApi.App_Start.SyncProductCharaceristics\nVoid PullSellBriteProducts()",
  "HResult": -2146233088,
  "Source": "WebApi",
  "WatsonBuckets": null
}{
  "ClassName": "System.Exception",
  "Message": "{\"Data\":[{\"id\":null,\"sku\":null,\"asin\":null,\"condition\":null,\"brand\":null,\"manufacturer\":null,\"manufacturer_model_number\":null,\"name\":null,\"description\":null,\"price\":null,\"cost\":null,\"package_length\":null,\"package_width\":null,\"package_height\":null,\"package_unit_of_length\":null,\"package_weight\":null,\"package_unit_of_weight\":null,\"msrp\":null,\"category_name\":null,\"warranty\":null,\"condition_note\":null,\"upc\":null,\"ean\":null,\"isbn\":null,\"gtin\":null,\"gcid\":null,\"epid\":null,\"parent_sku\":null,\"SB_Inventory\":[]}],\"Request\":{\"AlwaysMultipartFormData\":false,\"JsonSerializer\":{\"DateFormat\":null,\"RootElement\":null,\"Namespace\":null,\"ContentType\":\"application/json\"},\"XmlSerializer\":{\"RootElement\":null,\"Namespace\":null,\"DateFormat\":null,\"ContentType\":\"text/xml\"},\"ResponseWriter\":null,\"UseDefaultCredentials\":false,\"Parameters\":[{\"Name\":\"page\",\"Value\":24,\"Type\":1,\"ContentType\":null},{\"Name\":\"limit\",\"Value\":100,\"Type\":1,\"ContentType\":null},{\"Name\":\"Authorization\",\"Value\":\"Basic abc\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Accept\",\"Value\":\"application/json, application/xml, text/json, text/x-json, text/javascript, text/xml\",\"Type\":3,\"ContentType\":null}],\"Files\":[],\"Method\":0,\"Resource\":\"products\",\"RequestFormat\":1,\"RootElement\":null,\"OnBeforeDeserialization\":{\"Delegate\":{},\"method0\":{\"Name\":\"<.ctor>b__0\",\"AssemblyName\":\"RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null\",\"ClassName\":\"RestSharp.RestRequest\",\"Signature\":\"Void <.ctor>b__0(RestSharp.IRestResponse)\",\"Signature2\":\"System.Void <.ctor>b__0(RestSharp.IRestResponse)\",\"MemberType\":8,\"GenericArguments\":null}},\"DateFormat\":null,\"XmlNamespace\":null,\"Credentials\":null,\"UserState\":null,\"Timeout\":0,\"ReadWriteTimeout\":0,\"Attempts\":1},\"ContentType\":\"application/json\",\"ContentLength\":41,\"ContentEncoding\":\"\",\"Content\":\"{\\\"message\\\": \\\"Endpoint request timed out\\\"}\",\"StatusCode\":504,\"StatusDescription\":\"Gateway Timeout\",\"RawBytes\":\"eyJtZXNzYWdlIjogIkVuZHBvaW50IHJlcXVlc3QgdGltZWQgb3V0In0=\",\"ResponseUri\":\"https://api.sellbrite.com/v1/products?page=24&limit=100\",\"Server\":\"\",\"Cookies\":[],\"Headers\":[{\"Name\":\"Connection\",\"Value\":\"keep-alive\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-RequestId\",\"Value\":\"2f81fcc6-e437-4953-8f5c-fd52c3c96b3f\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-ErrorType\",\"Value\":\"InternalServerErrorException\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amz-apigw-id\",\"Value\":\"Kg3x9ENdvHcFUrA=\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Length\",\"Value\":\"41\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Type\",\"Value\":\"application/json\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Date\",\"Value\":\"Fri, 17 Dec 2021 21:52:15 GMT\",\"Type\":3,\"ContentType\":null}],\"ResponseStatus\":1,\"ErrorMessage\":null,\"ErrorException\":null}",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at WebApi.App_Start.SyncProductCharaceristics.PullSellBriteProducts() in C:\\sources\\MyApp\\WebApi\\App_Start\\SyncProductCharaceristics.cs:line 771\r\n   at WebApi.App_Start.SyncProductCharaceristics.Execute(IJobExecutionContext context) in C:\\sources\\MyApp\\WebApi\\App_Start\\SyncProductCharaceristics.cs:line 50",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8\nPullSellBriteProducts\nWebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nWebApi.App_Start.SyncProductCharaceristics\nVoid PullSellBriteProducts()",
  "HResult": -2146233088,
  "Source": "WebApi",
  "WatsonBuckets": null
}