{"id":20587,"date":"2020-07-31T00:42:52","date_gmt":"2020-07-31T07:42:52","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=20587"},"modified":"2023-12-01T03:57:12","modified_gmt":"2023-12-01T11:57:12","slug":"python-typeerror-string-indices-must-be-integers","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/","title":{"rendered":"Python typeerror: string indices must be integers Solution"},"content":{"rendered":"\n<p>In Python, iterable objects are <a href=\"https:\/\/careerkarma.com\/blog\/python-index\/\">indexed using numbers<\/a>. When you try to access an iterable object using a string value, an error will be returned. This error will look something like \u201cTypeError: string indices must be integers\u201d.<br><\/p>\n\n\n\n<p>In this guide, we\u2019re going to discuss what this error means and why it is raised. We\u2019ll walk through an example code snippet with this error and a solution to help you gain further context into how you can solve this type of error.<br><\/p>\n\n\n\n<p>Let\u2019s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Problem: typeerror: string indices must be integers<\/h2>\n\n\n\n<p>We have a TypeError on our hands. That means that we\u2019re trying to perform an operation on a value whose type is not compatible with that operation. Let\u2019s look at our error message:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>typeerror: string indices must be integers<\/pre><\/div>\n\n\n\n<p>Like many Python error messages, this one tells us exactly what mistake we have made. This error indicates that we are trying to access a value from an iterable using a <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">string<\/a> index rather than an integer index.<br><\/p>\n\n\n\n<p>Iterables, like strings and <a href=\"https:\/\/careerkarma.com\/blog\/python-add-to-dictionary\/\">dictionaries<\/a>, are indexed starting from the number 0. Consider the following list:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>keyboard = [&quot;Apex Pro&quot;, &quot;Apple Magic Keyboard&quot;];<\/pre><\/div>\n\n\n\n<p>This is a list of strings. To access the first item in this list, we need to reference it by its index value:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(keyboard[0])<\/pre><\/div>\n\n\n\n<p>This will return a keyboard name: \u201cApex Pro\u201d. We could not access this list item using a string. Otherwise, an error would be returned.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>Let\u2019s create a dictionary called \u201csteel_series\u201d which contains information on a keyboard:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>steel_series = {\n\t&quot;name&quot;: &quot;Apex Pro&quot;,\n\t&quot;manufacturer&quot;: &quot;SteelSeries&quot;,\n\t&quot;oled_display&quot;: True\n}<\/pre><\/div>\n\n\n\n<p>We\u2019re going to iterate over all the values in this dictionary and print them to the console.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for k in steel_series:\n\tprint(&quot;Name: &quot; + k[&quot;name&quot;])\n\tprint(&quot;Manufacturer: &quot; + k[&quot;manufacturer&quot;])\n\tprint(&quot;OLED Display: &quot; + str(k[&quot;oled_display&quot;]))<\/pre><\/div>\n\n\n\n<p>This code uses a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">for loop<\/a> to iterate through every item in our \u201ckeyboard\u201d object. Now, let\u2019s try to run our code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Traceback (most recent call last):\n  File &quot;main.py&quot;, line 8, in &lt;module&gt;\n\tprint(&quot;Name: &quot; + k[&quot;name&quot;])\nTypeError: string indices must be integers<\/pre><\/div>\n\n\n\n<p>An error is present, as we expected. This error has been caused because we are trying to access values from our dictionary using string indices instead of integers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>The problem in our code is that we\u2019re iterating over each key in the \u201csteel_series\u201d dictionary.<br><\/p>\n\n\n\n<p>The value of \u201ck\u201d is always a key in the dictionary. It\u2019s not a record in our dictionary. Let\u2019s try to print out \u201ck\u201d in our dictionary:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for k in steel_series:\n\tprint(k)<\/pre><\/div>\n\n\n\n<p>Our code returns:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>name\nmanufacturer\noled_display<\/pre><\/div>\n\n\n\n<p>We cannot use \u201ck\u201d to access values in our dictionary. k[\u201cname\u201d] is equal to the value of \u201cname\u201d inside \u201ck\u201d, which is \u201cname\u201d. This does not make sense to Python. You cannot access a value in a string using another string.<br><\/p>\n\n\n\n<p>To solve this problem, we should reference our dictionary instead of \u201ck\u201d. We can access items in our dictionary using a string. This is because dictionary keys can be strings.<br><\/p>\n\n\n\n<p>We don\u2019t need to use a for loop to print out each value:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;Name: &quot; + steel_series[&quot;name&quot;])\nprint(&quot;Manufacturer: &quot; + steel_series[&quot;manufacturer&quot;])\nprint(&quot;OLED Display: &quot; + str(steel_series[&quot;oled_display&quot;]))<\/pre><\/div>\n\n\n\n<p>Let\u2019s run our new code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Name: Apex Pro\nManufacturer: SteelSeries\nOLED Display: True<\/pre><\/div>\n\n\n\n<p>Our code successfully prints out each value in our list. This is because we&#8217;re no longer trying to access our dictionary using the string value in an <a href=\"https:\/\/careerkarma.com\/blog\/python-iterator\/\">iterator<\/a> (\u201ck\u201d).<\/p>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"0\" width=\"100%\" height=\"400px\" src=\"https:\/\/repl.it\/@careerkarma\/string-indices-must-be-integers?lite=true\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>String indices must be integers. This means that when you\u2019re accessing an iterable object like a string, you must do it using a numerical value. If you are accessing items from a dictionary, make sure that you are accessing the dictionary itself and not a key in the dictionary.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to solve the <a href=\"https:\/\/careerkarma.com\/blog\/python-projects-beginners\/\">Python<\/a> typeerror: string indices must be integers error like a pro!<\/p>\n","protected":false},"excerpt":{"rendered":"In Python, iterable objects are indexed using numbers. When you try to access an iterable object using a string value, an error will be returned. This error will look something like \u201cTypeError: string indices must be integers\u201d. In this guide, we\u2019re going to discuss what this error means and why it is raised. We\u2019ll walk&hellip;","protected":false},"author":240,"featured_media":20588,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-20587","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 typeerror: string indices must be integers Solution | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python typeerror: string indices must be integers error and how to solve it.\" \/>\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-typeerror-string-indices-must-be-integers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python typeerror: string indices must be integers Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python typeerror: string indices must be integers error and how to solve it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/\" \/>\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-07-31T07:42:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:57:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python typeerror: string indices must be integers Solution\",\"datePublished\":\"2020-07-31T07:42:52+00:00\",\"dateModified\":\"2023-12-01T11:57:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/\"},\"wordCount\":571,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/\",\"name\":\"Python typeerror: string indices must be integers Solution | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg\",\"datePublished\":\"2020-07-31T07:42:52+00:00\",\"dateModified\":\"2023-12-01T11:57:12+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python typeerror: string indices must be integers error and how to solve it.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg\",\"width\":1020,\"height\":680,\"caption\":\"a group of peoples arms all point to a white laptop\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#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 typeerror: string indices must be integers 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 typeerror: string indices must be integers Solution | Career Karma","description":"On Career Karma, learn about the Python typeerror: string indices must be integers error and how to solve it.","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-typeerror-string-indices-must-be-integers\/","og_locale":"en_US","og_type":"article","og_title":"Python typeerror: string indices must be integers Solution","og_description":"On Career Karma, learn about the Python typeerror: string indices must be integers error and how to solve it.","og_url":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-31T07:42:52+00:00","article_modified_time":"2023-12-01T11:57:12+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python typeerror: string indices must be integers Solution","datePublished":"2020-07-31T07:42:52+00:00","dateModified":"2023-12-01T11:57:12+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/"},"wordCount":571,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/","url":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/","name":"Python typeerror: string indices must be integers Solution | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg","datePublished":"2020-07-31T07:42:52+00:00","dateModified":"2023-12-01T11:57:12+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python typeerror: string indices must be integers error and how to solve it.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/john-schnobrich-2FPjlAyMQTA-unsplash.jpg","width":1020,"height":680,"caption":"a group of peoples arms all point to a white laptop"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-string-indices-must-be-integers\/#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 typeerror: string indices must be integers 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\/20587","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=20587"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20587\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/20588"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=20587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=20587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=20587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}