{"id":21053,"date":"2020-08-10T09:36:04","date_gmt":"2020-08-10T16:36:04","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21053"},"modified":"2023-12-01T03:57:24","modified_gmt":"2023-12-01T11:57:24","slug":"python-valueerror-invalid-literal-for-int-with-base-10","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/","title":{"rendered":"Python ValueError: invalid literal for int() with base 10 Solution"},"content":{"rendered":"\n<p><a href=\"https:\/\/careerkarma.com\/blog\/python-vs-java\/\">Python<\/a> is good at converting values to different data types. You can convert strings to integers, integers to strings, floats to integers, to name a few examples. There\u2019s one conversion Python does not like: changing a float structured as a string to an integer.<br><\/p>\n\n\n\n<p>In this tutorial, we discuss the ValueError: invalid literal for <code>int()<\/code> with base 10 error and why it is raised. We walk through an example of this error to help you understand how you can fix it in your code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Problem: ValueError: invalid literal for int() with base 10<\/h2>\n\n\n\n<p>Let\u2019s start by reading our error message:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ValueError: invalid literal for int() with base 10<\/pre><\/div>\n\n\n\n<p>Error messages have two parts. The first part tells us the type of error we are facing. A ValueError is raised when there is an issue with the value stored in a particular object.<br><\/p>\n\n\n\n<p>Our error message tells us there is an invalid literal for an integer in base 10. This means the value we have passed through an <code>int()<\/code> method cannot be converted.<br><\/p>\n\n\n\n<p>In Python, you can pass numbers formatted as strings into the <a href=\"https:\/\/careerkarma.com\/blog\/python-float\/\">float()<\/a> and <a href=\"https:\/\/careerkarma.com\/blog\/python-string-to-int\/\">int()<\/a> methods.<br><\/p>\n\n\n\n<p>The <code>int()<\/code> method does not allow you to pass a float represented as a <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">string<\/a>. If you try to convert any string value not formatted as an integer, this error is raised.<br><\/p>\n\n\n\n<p>This means you cannot convert a floating-point number in a string to an integer. In addition, you cannot convert letters to an integer (unless you are using letters with a special meaning, like \u201cinf\u201d).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>Here, we build a program that calculates whether a coffee house has enough coffee in stock to serve their customers for a day. Our input field must accept decimal numbers because bags can be half full, a quarter full, and so on.<br><\/p>\n\n\n\n<p>We convert the value a user inserts to an integer because we do not need to be precise down to the level of half-bags and quarter-bags.<br><\/p>\n\n\n\n<p>Let\u2019s start by asking the user to insert how many coffee bags are left using an <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">input() statement<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>coffee_bags = input(&quot;Enter how many coffee bags are left: &quot;)<\/pre><\/div>\n\n\n\n<p>Next, we convert this value to an integer. We then use an <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">\u201cif\u201d statement<\/a> to check whether the coffee house has enough coffee. If the coffee house has over 10 bags, they have enough for the day. Otherwise, they do not.<br><\/p>\n\n\n\n<p>Let\u2019s write this into our program:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>coffee_bags_as_int = int(coffee_bags)\n\nif coffee_bags_as_int &gt; 10:\n\tprint(&quot;You have enough coffee bags.&quot;)\nelse:\n\tprint(&quot;You do not have enough coffee bags.&quot;)<\/pre><\/div>\n\n\n\n<p>Let\u2019s run our code and see what happens:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter how many coffee bags are left: 7.4\nTraceback (most recent call last):\n  File &quot;main.py&quot;, line 3, in &lt;module&gt;\n\tcoffee_bags_as_int = int(coffee_bags)\nValueError: invalid literal for int() with base 10: '7.4'<\/pre><\/div>\n\n\n\n<p>When we try to write a decimal number into our program, an error is returned.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>This error is caused because we try to convert \u201c7.4: to an integer. The value \u201c7.4\u201d is formatted as a string. Python cannot convert a floating-point number in a string to an integer.<br><\/p>\n\n\n\n<p>To overcome this issue, we need to convert the value a user inserts to a floating point number. Then, we can convert it to an integer.<br><\/p>\n\n\n\n<p>We can do this by using the <code>float()<\/code> and <code>int()<\/code> statements. The <code>int()<\/code> function returns an integer. The <code>float()<\/code> function returns a floating-point representation of a float.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>coffee_bags_as_int = int(float(coffee_bags))<\/pre><\/div>\n\n\n\n<p>Our code first converts the value of \u201ccoffee_bags\u201d to a float. Next, it converts that value to an integer. Let\u2019s try to run our code again:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter how many coffee bags are left: 7.4\nYou do not have enough coffee bags.<\/pre><\/div>\n\n\n\n<p>Our code works successfully. Now that we have converted \u201ccoffee_bags\u201d to a float, our program can convert the value a user inserts into an integer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The Python ValueError: invalid literal for <code>int()<\/code> with base 10 error is raised when you try to convert a string value that is not formatted as an integer.<br><\/p>\n\n\n\n<p>To solve this problem, you can use the <code>float()<\/code> method to convert a floating-point number in a string to an integer. Then, you can use <code>int()<\/code> to convert your number to an integer.<br><\/p>\n\n\n\n<p>If this does not work, make sure that the value of a string does not contain any letters. Strings with letters cannot be converted to an integer unless those letters have a special meaning in Python.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to solve this common Python error like an expert developer!<\/p>\n","protected":false},"excerpt":{"rendered":"Python is good at converting values to different data types. You can convert strings to integers, integers to strings, floats to integers, to name a few examples. There\u2019s one conversion Python does not like: changing a float structured as a string to an integer. In this tutorial, we discuss the ValueError: invalid literal for int()&hellip;","protected":false},"author":240,"featured_media":21054,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21053","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 ValueError: invalid literal for int() with base 10 | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python ValueError: invalid literal for int() with base 10 error, 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-valueerror-invalid-literal-for-int-with-base-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python ValueError: invalid literal for int() with base 10 Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python ValueError: invalid literal for int() with base 10 error, how the error works, and how to solve the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/\" \/>\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-10T16:36:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:57:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-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-valueerror-invalid-literal-for-int-with-base-10\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python ValueError: invalid literal for int() with base 10 Solution\",\"datePublished\":\"2020-08-10T16:36:04+00:00\",\"dateModified\":\"2023-12-01T11:57:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/\"},\"wordCount\":656,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/\",\"name\":\"Python ValueError: invalid literal for int() with base 10 | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg\",\"datePublished\":\"2020-08-10T16:36:04+00:00\",\"dateModified\":\"2023-12-01T11:57:24+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python ValueError: invalid literal for int() with base 10 error, how the error works, and how to solve the error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#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 ValueError: invalid literal for int() with base 10 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 ValueError: invalid literal for int() with base 10 | Career Karma","description":"On Career Karma, learn about the Python ValueError: invalid literal for int() with base 10 error, 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-valueerror-invalid-literal-for-int-with-base-10\/","og_locale":"en_US","og_type":"article","og_title":"Python ValueError: invalid literal for int() with base 10 Solution","og_description":"On Career Karma, learn about the Python ValueError: invalid literal for int() with base 10 error, how the error works, and how to solve the error.","og_url":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-10T16:36:04+00:00","article_modified_time":"2023-12-01T11:57:24+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-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-valueerror-invalid-literal-for-int-with-base-10\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python ValueError: invalid literal for int() with base 10 Solution","datePublished":"2020-08-10T16:36:04+00:00","dateModified":"2023-12-01T11:57:24+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/"},"wordCount":656,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/","url":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/","name":"Python ValueError: invalid literal for int() with base 10 | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg","datePublished":"2020-08-10T16:36:04+00:00","dateModified":"2023-12-01T11:57:24+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python ValueError: invalid literal for int() with base 10 error, how the error works, and how to solve the error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/nicole-wolf-vbELCYphulg-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-valueerror-invalid-literal-for-int-with-base-10\/#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 ValueError: invalid literal for int() with base 10 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\/21053","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=21053"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21053\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21054"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}