{"id":6595,"date":"2019-03-19T19:31:25","date_gmt":"2019-03-19T19:31:25","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=6595"},"modified":"2019-03-21T14:53:10","modified_gmt":"2019-03-21T14:53:10","slug":"understand-http-status-codes-fix-common-errors-rest-api","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/","title":{"rendered":"Understand HTTP Status Code and Fix Common Errors in REST API"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-4254 alignleft\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\" alt=\"Logo REST API\" width=\"80\" height=\"85\" \/><\/a>Any time you send HTTP Request according to <a href=\"https:\/\/tools.ietf.org\/html\/rfc2616\" target=\"_blank\" rel=\"noopener\">HTTP Standard<\/a>\u00a0using tools like ZappySys <a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/\">REST API Drivers<\/a> or <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS Connectors<\/a>\u00a0you may receive web response along with HTTP Status Codes. Dealing with REST \/ SOAP API calls you may face errors and you may find it challenging to understand generic error message from server along with some Numeric value (Called HTTP Status Code).\u00a0 In this article we will try to decode certain status codes and discuss various way to solve it.<\/p>\n<h2>Example of HTTP Error and Status Code<\/h2>\n<p>Before we dive deep on this topic of HTTP Errors Status Codes let&#8217;s check an example HTTP Error with Status Code 400 (BadRequest). As you notice we passed some bad data in Request Body to produce this error. As you may see in below screenshot there are few parts we need to configure to call REST API request.<\/p>\n<ol>\n<li><strong>URL\u00a0<\/strong> (and optionally <strong>parameters<\/strong> in URL)<\/li>\n<li><strong>Request Method<\/strong>\u00a0 (i.e. GET \/ POST)<\/li>\n<li><strong>Request Body<\/strong> (Optional &#8211; Not needed for GET request but for POST \/PUT API requests you may need to pass)<\/li>\n<li><strong>Request Content Type<\/strong> ( Optional &#8211; i.e. application\/xml . This is not needed for GET Request)<\/li>\n<li><strong>Request Headers<\/strong> (Optional &#8211; Many tools generate default headers behind the scene. In our example we passed only two headers but see how many more added automatically in below Raw View obtained by tools <a href=\"https:\/\/zappysys.com\/blog\/how-to-use-fiddler-to-analyze-http-web-requests\/\" target=\"_blank\" rel=\"noopener\">like Fiddler<\/a> )<\/li>\n<\/ol>\n<p>Sample Request:<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">POST\r\nhttps:\/\/accounts.google.com\/o\/oauth2\/token\r\n\r\n&gt;&gt;&gt;&gt; HEADERS &lt;&lt;&lt;&lt;&lt;\r\n\r\nUser-Agent: ZappySysApp\/1.0.2019.10310\r\nContent-Type: application\/xml\r\nAccept: *\/*\r\nCache-Control: no-cache\r\nHost: accounts.google.com\r\nContent-Length: 13\r\nExpect: 100-continue\r\nAccept-Encoding: gzip, deflate\r\nConnection: Keep-Alive\r\n\r\n&gt;&gt;&gt;&gt; BODY &lt;&lt;&lt;&lt;&lt;\r\n\r\nsome bad data<\/pre>\n<p>Sample Response:<\/p>\n<pre class=\"lang:default highlight:0 decode:true \">HTTP\/1.1 400 Bad Request\r\n\r\n{\r\n  \"error\": {\r\n    \"code\": 400,\r\n    \"message\": \"Invalid JSON payload received. Unexpected token.\\nsome bad data\\n^\",\r\n    \"status\": \"INVALID_ARGUMENT\"\r\n  }\r\n}<\/pre>\n<p>Here is a screenshot of <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\" target=\"_blank\" rel=\"noopener\">SSIS REST API Task<\/a> which can be used for calling XML \/ JSON API to automate ETL workflows.<\/p>\n<div id=\"attachment_6598\" style=\"width: 1027px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-example-call-rest-api-http-error-status-code-400-bad-request.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6598\" class=\"wp-image-6598 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-example-call-rest-api-http-error-status-code-400-bad-request.png\" alt=\"Example of Calling REST API which returns HTTP Error Status Code 400 (Bad Request) - Invalid POST Body \/ Syntax Error\" width=\"1017\" height=\"706\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-example-call-rest-api-http-error-status-code-400-bad-request.png 1017w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-example-call-rest-api-http-error-status-code-400-bad-request-300x208.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/03\/ssis-example-call-rest-api-http-error-status-code-400-bad-request-768x533.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/a><p id=\"caption-attachment-6598\" class=\"wp-caption-text\">Example of Calling REST API which returns HTTP Error Status Code 400 (Bad Request) &#8211; Invalid POST Body \/ Syntax Error<\/p><\/div>\n<h2>Common HTTP Error Status Codes \/ Reasons \/ Possible Fix<\/h2>\n<p>Status codes can be anywhere between 100 to 505. Most of them <a href=\"https:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html\" target=\"_blank\" rel=\"noopener\">documented here<\/a>\u00a0also <a href=\"https:\/\/tools.ietf.org\/html\/rfc2616#page-57\" target=\"_blank\" rel=\"noopener\">here (RFC2616 &#8211; HTTP \/ 1.1)<\/a>. Out of these status codes we will discuss few most common ones in this article and how to fix them.<\/p>\n<p>Microsoft has also provided great explanation for most common HTTP Status Code <a href=\"https:\/\/docs.microsoft.com\/en-us\/dotnet\/api\/system.net.httpstatuscode?view=netframework-4.7.2\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<h3>Status Code 400 &#8211; Bad Request<\/h3>\n<p><strong>Possible Reason(s):<\/strong><\/p>\n<ul>\n<li>One or more URL Parameter is wrong<\/li>\n<li>Request body may be wrong (For example: Either data is invalid in Body or Syntax is invalid &#8211; such as JSON Property name misspelled or missing closing brackets)<\/li>\n<\/ul>\n<p><strong>Possible Fix:<\/strong><\/p>\n<ul>\n<li>Make sure you passing URL Parameters correct way (Refer your API help file or some sample code)<\/li>\n<li>For POST \/ PUT request check your Parameter names, Data format, JSON \/ XML syntax (Refer your API help file or some sample code)<\/li>\n<li>If you want to validate JSON \/ XML Syntax use some FREE online validators for JSON\u00a0 or XML<\/li>\n<\/ul>\n<h3>Status Code 401 &#8211; Unauthorized<\/h3>\n<p><strong>Possible Reason(s):<\/strong><\/p>\n<ul>\n<li>You did not pass userid \/ password or session token<\/li>\n<li>Your credentials are invalid or session token is expired<\/li>\n<li>Some tool may not save Sensitive Information unless you set Save Sensitive Information option. For example in SSIS if you set PackageProtectionLevel= DoNotSaveSensitive then password will not be sent along with your API request.<\/li>\n<\/ul>\n<p><strong>Possible Fix:<\/strong><\/p>\n<ul>\n<li>Make sure you passing credentials either directly via HTTP Headers or URL Parameter<\/li>\n<li>For ZappySys Products <a href=\"https:\/\/zappysys.com\/blog\/how-to-set-base64-encoded-authorization-header-for-http-web-request\/\" target=\"_blank\" rel=\"noopener\">use HTTP<\/a> or <a href=\"https:\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/\" target=\"_blank\" rel=\"noopener\">OAuth connection<\/a> manager to pass credentials securely without worrying about manual HTTP Headers<\/li>\n<li>If you configured PackageProtectionLevel= DoNotSaveSensitive\u00a0in SSIS then\u00a0<a href=\"https:\/\/zappysys.com\/forums\/topic\/ssis-runtime-connection-error-packageprotectionlevel-set-donotsavesensitive\/\" target=\"_blank\" rel=\"noopener\">Check this<\/a>\u00a0and <a href=\"https:\/\/zappysys.com\/blog\/how-to-run-an-ssis-package-with-sensitive-data-on-sql-server\/\" target=\"_blank\" rel=\"noopener\">this <\/a>\u00a0article to learn how to pass sensitive information in SSIS at runtime \/ design time.<\/li>\n<\/ul>\n<h3>Status Code 404 &#8211; Page Not Found<\/h3>\n<p><strong>Possible Reason(s):<\/strong><\/p>\n<ul>\n<li>You entered invalid URL<\/li>\n<li>URL is intranet only and you trying to access from outside network<\/li>\n<\/ul>\n<p><strong>Possible Fix:<\/strong><\/p>\n<ul>\n<li>Check your URL and correct it so its not throwing 404 error when you test in Browser (It must return data or throw some other error &#8211; E.g. 400 &#8211; Bad request or 401-Unauthorized)<\/li>\n<\/ul>\n<h3>Status Code 405 &#8211; Method Is Not Allowed<\/h3>\n<p><strong>Possible Reason(s):<\/strong><\/p>\n<ul>\n<li>You selected invalid Request Method (see #2 in above screenshot)<\/li>\n<\/ul>\n<p><strong>Possible Fix:<\/strong><\/p>\n<ul>\n<li>Select correct Request Method. Refer to your API see it supports the method you selected. For example You selected POSt method to update some data but your API is expecting PUT method rather than POST.<\/li>\n<\/ul>\n<h3>Status Code 411 &#8211; Length Required<\/h3>\n<p><strong>Possible Reason(s):<\/strong><\/p>\n<ul>\n<li>You selected request method as POST or PUT but did not pass any body<\/li>\n<\/ul>\n<p><strong>Possible Fix:<\/strong><\/p>\n<ul>\n<li>Make sure you supply some value in the Request Body field as per API specification. See #4 in the screenshot above.<\/li>\n<\/ul>\n<h3>Status Code 415 &#8211; Media Type Is Not Supported<\/h3>\n<p><strong>Possible Reason(s):<\/strong><\/p>\n<ul>\n<li>You did not pass correct Content-Type Header or your API was expecting different content-type setting than what you passed.<\/li>\n<\/ul>\n<p><strong>Possible Fix:<\/strong><\/p>\n<ul>\n<li>Pass HTTP Header Content-Type with correct value (Check API documentation). Typically for JSON API its <span class=\"lang:default decode:true crayon-inline \">application\/json<\/span>\u00a0 and for XML SOAP API its <span class=\"lang:default decode:true crayon-inline \">text\/xml<\/span><\/li>\n<li>If you are using Zappysys REST API Drivers or SSIS Connectors you will see Content Type Dropdown on UI see #4 in above screenshot. Change it to correct setting. If your content type not in the dropdown then you can set direct HTTP Header<br \/>\nExample =&gt; <span class=\"lang:default decode:true crayon-inline \">Content-Type: application\/json<\/span>\u00a0 see #5 in screenshot.<\/li>\n<\/ul>\n<h2>Debugging HTTP Web Requests<\/h2>\n<p>If you want to make sure what&#8217;s being passed to web server you can use <a href=\"https:\/\/zappysys.com\/blog\/how-to-use-fiddler-to-analyze-http-web-requests\/\" target=\"_blank\" rel=\"noopener\">this tool (Fiddler)<\/a> and debug your web requests. It will show you all parts of your HTTP Request \/ Response (i.e.\u00a0 Headers, Body, URL Parameters)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Any time you send HTTP Request according to HTTP Standard\u00a0using tools like ZappySys REST API Drivers or SSIS Connectors\u00a0you may receive web response along with HTTP Status Codes. Dealing with REST \/ SOAP API calls you may face errors and you may find it challenging to understand generic error message from server along with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4254,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[390,276,176,8,10],"tags":[125,3,12],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Understand HTTP Status Code and Fix Common Errors in REST API | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Learn basics about HTTP Request \/ Response and common HTTP Status Code you may see when error occurs. How to debug web request using Fiddler \/ Call REST API\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Understand HTTP Status Code and Fix Common Errors in REST API | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Learn basics about HTTP Request \/ Response and common HTTP Status Code you may see when error occurs. How to debug web request using Fiddler \/ Call REST API\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2019-03-19T19:31:25+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2019-03-21T14:53:10+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\" \/>\r\n\t<meta property=\"og:image:width\" content=\"217\" \/>\r\n\t<meta property=\"og:image:height\" content=\"232\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/\",\"url\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/\",\"name\":\"Understand HTTP Status Code and Fix Common Errors in REST API | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\",\"datePublished\":\"2019-03-19T19:31:25+00:00\",\"dateModified\":\"2019-03-21T14:53:10+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"Learn basics about HTTP Request \/ Response and common HTTP Status Code you may see when error occurs. How to debug web request using Fiddler \/ Call REST API\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg\",\"width\":217,\"height\":232,\"caption\":\"Logo REST API\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understand HTTP Status Code and Fix Common Errors in REST API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understand HTTP Status Code and Fix Common Errors in REST API | ZappySys Blog","description":"Learn basics about HTTP Request \/ Response and common HTTP Status Code you may see when error occurs. How to debug web request using Fiddler \/ Call REST API","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Understand HTTP Status Code and Fix Common Errors in REST API | ZappySys Blog","og_description":"Learn basics about HTTP Request \/ Response and common HTTP Status Code you may see when error occurs. How to debug web request using Fiddler \/ Call REST API","og_url":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2019-03-19T19:31:25+00:00","article_modified_time":"2019-03-21T14:53:10+00:00","og_image":[{"width":217,"height":232,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","type":"image\/jpeg"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/","url":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/","name":"Understand HTTP Status Code and Fix Common Errors in REST API | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","datePublished":"2019-03-19T19:31:25+00:00","dateModified":"2019-03-21T14:53:10+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"Learn basics about HTTP Request \/ Response and common HTTP Status Code you may see when error occurs. How to debug web request using Fiddler \/ Call REST API","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/06\/REST-API-icon.jpg","width":217,"height":232,"caption":"Logo REST API"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/understand-http-status-codes-fix-common-errors-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Understand HTTP Status Code and Fix Common Errors in REST API"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6595"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=6595"}],"version-history":[{"count":6,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6595\/revisions"}],"predecessor-version":[{"id":6604,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/6595\/revisions\/6604"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/4254"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=6595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=6595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=6595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}