{"id":21916,"date":"2020-08-31T10:51:45","date_gmt":"2020-08-31T17:51:45","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21916"},"modified":"2023-12-01T03:58:57","modified_gmt":"2023-12-01T11:58:57","slug":"python-indentationerror-expected-an-indented-block","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/","title":{"rendered":"Python IndentationError: expected an indented block Solution"},"content":{"rendered":"\n<p>Python indentation is a stickler. You must correctly indent your code.<br><\/p>\n\n\n\n<p>If you use the wrong arrangement of spaces and tabs in a Python program, you encounter the \u201cIndentationError: expected an indented block\u201d error.<br><\/p>\n\n\n\n<p>In this guide, we talk about what this error means and why it is raised. We\u2019ll walk through an example of this error to help you figure out how to solve it in your code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">IndentationError: expected an indented block<\/h2>\n\n\n\n<p>Programming languages like C and JavaScript do not require particular indentation. This is because they use curly braces to denote the structure of code blocks. Python does not use curly braces or a similar indicator.<br><\/p>\n\n\n\n<p>The language depends on indentation to determine the structure of a program. Without indentation, it is impossible for the Python interpreter to know how to read a block of code.<br><\/p>\n\n\n\n<p>Consider the following Python code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>def find_average(grades):\naverage = sum(grades) \/ len(grades)\nprint(average)\nreturn average<\/pre><\/div>\n\n\n\n<p>How does Python know what code is part of the <code>find_average()<\/code> <a href=\"https:\/\/careerkarma.com\/blog\/python-functions\/\">defined function<\/a> and what code is part of the main program? This shows why indentation is so important.<br><\/p>\n\n\n\n<p>Any time you forget to indent code in a program, Python makes you aware of this by raising an <a href=\"https:\/\/careerkarma.com\/blog\/python-indentationerror\/\">indentation error<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>Let\u2019s write a program that extracts all bagels from a list of lunch foods on a cafe lunch menu. These bagels will be added to their own list.<br><\/p>\n\n\n\n<p>Let\u2019s start by <a href=\"https:\/\/careerkarma.com\/blog\/how-to-initialize-a-list-in-python\/\">defining a list<\/a> of all the foods available at lunch time:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>lunch_menu = [&quot;Cream cheese bagel&quot;, &quot;Cheese sandwich&quot;, &quot;Hummus, avocado, and cucumber sandwich&quot;, &quot;Smoked salmon bagel&quot;]<\/pre><\/div>\n\n\n\n<p>Our lunch menu contains two sandwiches and two bagels. Next, we write a function that creates a new list of bagels based on the contents of our \u201clunch_menu\u201d list:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>def get_bagels(menu):\nbagels = []\n\n\tfor m in menu:\n\t\tif &quot;bagel&quot; in m:\n\t\t\tbagels.append(m)\n\n\treturn bagels<\/pre><\/div>\n\n\n\n<p>Our <code>get_bagels()<\/code> function accepts one argument: the menu items through which the function should search. Our function iterates through each item on the menu and <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">checks if the item contains the word \u201cbagel\u201d<\/a>. If it does, that lunch food is added to the \u201cbagels\u201d list.<br><\/p>\n\n\n\n<p>Finally, we have to call our function in our main program:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>bagels = get_bagels(lunch_menu)\nprint(bagels)<\/pre><\/div>\n\n\n\n<p>This code will call our <code>get_bagels()<\/code> function and then print the list of bagels it creates to the console. Let\u2019s run our code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>  File &quot;main.py&quot;, line 4\n\tbagels = []\n\t^\nIndentationError: expected an indented block<\/pre><\/div>\n\n\n\n<p>Our code fails to execute.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>An IndentationError tells us we have incorrectly indented our code. The error message shows us that it expects an indent on line four. Take a look at our code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>def get_bagels(menu):\nbagels = []<\/pre><\/div>\n\n\n\n<p>The \u201cbagels\u201d variable declaration is supposed to be part of our function but it is not indented. This causes an error because Python functions expect to have at least one line of code indented below where they are declared.<br><\/p>\n\n\n\n<p>To solve this error, we need to indent our <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">variable declaration<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>def get_bagels(menu):\nbagels = []<\/pre><\/div>\n\n\n\n<p>Let\u2019s run our code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>['Cream cheese bagel', 'Smoked salmon bagel']<\/pre><\/div>\n\n\n\n<p>Our code finds all of the bagels in our \u201clunch_menu\u201d list and adds them to the \u201cbagels\u201d list. Our code then prints out the list of bagels to the console. There are two bagels on the lunch menu.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201cIndentationError: expected an indented block\u201d error is raised when you forget to add an indent in your code.<br><\/p>\n\n\n\n<p>To solve this error, make sure your code contains the proper number of indents. Now you have the knowledge you need to fix this error like an expert coder!<\/p>\n","protected":false},"excerpt":{"rendered":"Python indentation is a stickler. You must correctly indent your code. If you use the wrong arrangement of spaces and tabs in a Python program, you encounter the \u201cIndentationError: expected an indented block\u201d error. In this guide, we talk about what this error means and why it is raised. We\u2019ll walk through an example of&hellip;","protected":false},"author":240,"featured_media":21917,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21916","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python IndentationError: expected an indented block Solution | CK<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python IndentationError: expected an indented block, how the error works, and how to solve the error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python IndentationError: expected an indented block Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python IndentationError: expected an indented block, how the error works, and how to solve the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-31T17:51:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:58:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python IndentationError: expected an indented block Solution\",\"datePublished\":\"2020-08-31T17:51:45+00:00\",\"dateModified\":\"2023-12-01T11:58:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\"},\"wordCount\":539,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\",\"name\":\"Python IndentationError: expected an indented block Solution | CK\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg\",\"datePublished\":\"2020-08-31T17:51:45+00:00\",\"dateModified\":\"2023-12-01T11:58:57+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python IndentationError: expected an indented block, how the error works, and how to solve the error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python IndentationError: expected an indented block Solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python IndentationError: expected an indented block Solution | CK","description":"On Career Karma, learn about the Python IndentationError: expected an indented block, how the error works, and how to solve the error.","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:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/","og_locale":"en_US","og_type":"article","og_title":"Python IndentationError: expected an indented block Solution","og_description":"On Career Karma, learn about the Python IndentationError: expected an indented block, how the error works, and how to solve the error.","og_url":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-31T17:51:45+00:00","article_modified_time":"2023-12-01T11:58:57+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python IndentationError: expected an indented block Solution","datePublished":"2020-08-31T17:51:45+00:00","dateModified":"2023-12-01T11:58:57+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/"},"wordCount":539,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/","url":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/","name":"Python IndentationError: expected an indented block Solution | CK","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg","datePublished":"2020-08-31T17:51:45+00:00","dateModified":"2023-12-01T11:58:57+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python IndentationError: expected an indented block, how the error works, and how to solve the error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/vincent-ghilione-H8TTRBLMO1I-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-indentationerror-expected-an-indented-block\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python IndentationError: expected an indented block Solution"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=21916"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21916\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21917"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}