{"id":8185,"date":"2024-09-03T22:33:50","date_gmt":"2024-09-03T17:03:50","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=8185"},"modified":"2024-09-03T22:33:54","modified_gmt":"2024-09-03T17:03:54","slug":"error-handling-in-graphql-with-apollo-server","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/","title":{"rendered":"Error Handling in GraphQL with Apollo Server"},"content":{"rendered":"\n<p class=\"has-text-align-left\">Apollo Server is a tool that helps to create GraphQL APIs easily. It makes setting up a GraphQL server simple and fast, allowing to define how data is organized and accessed. Apollo server also has built-n support for handling errors and monitoring performance.<\/p>\n\n\n\n<p class=\"has-text-align-left\">Error handling in GraphQL with Apollo Server helps users clearly understand any issues. When errors are handled correctly, users get clear messages about what went wrong and what they should do next. This makes the API more reliable and provides a better experience for everyone.<\/p>\n\n\n\n<p class=\"has-text-align-left\"><strong>default status codes<\/strong>: <br>Apollo Server is responds with two status codes, which is basically:<br> 200 : This Status code returned even if errors occur during execution<br> 500 : This status code indicates  internal server error.<br><br><strong>Install apollo server express:<\/strong><br>yarn add apollo-server-express <br><br><strong><em>Example:<\/em><\/strong><br>import { ApolloError, UserInputError } from &#8220;apollo-server-express&#8221;;<br>import { Types } from &#8220;mongoose&#8221;;<br><br>getBorrowerbyID<strong>:<\/strong> async (_: any, { id }: { id: string }) =&gt; {<br> if (!Types.ObjectId.isValid(id)) {<br> throw new UserInputError(BORROWER.INVALID_ID);<br>\u00a0 }<br>\u00a0try {<br>const borrower = await BorrowerModel.findById(id);<br>\u00a0 \u00a0 \u00a0 \u00a0 if (!borrower) {<br>         throw new ApolloError(BORROWER.BORROWERNOTFOUND);<br>\u00a0         }<br>return borrower;<br>} catch (error) {<br>\u00a0 throw new ApolloError(BORROWER.INTERNAL_SERVER_ERROR);<br> }<br>},<br><br><strong>Basic Error handling: <\/strong><br>Using ApolloError to return general errors and Handle unexpected issues.<br><br><strong>User Input Error:<\/strong><br> It validate the user input and if its not validate returns specific error.<br> if (!Types.ObjectId.isValid(id)) {<br> throw new UserInputError(BORROWER.INVALID_ID);<br>\u00a0 }<br><strong>Format Error: <\/strong><\/p>\n\n\n\n<p>By default Apollo server Provides a basic error format. To customize the below error format globally, we can use<strong><em> formatError<\/em><\/strong> function.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"487\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png\" alt=\"\" class=\"wp-image-8193\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png 762w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image-300x192.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image-469x300.png 469w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/a><\/figure>\n\n\n\n<p><br>To Add this formatError function inside index.ts file :<br>import { GraphQLError, GraphQLFormattedError } from &#8216;graphql&#8217;;<br>const formatError = (error: GraphQLError): GraphQLFormattedError =&gt; {<br>const { message } = error;<br>return { message };<br>};<br>const server = new ApolloServer({<br>  typeDefs,<br>  resolvers,<br>  context,<br>  formatError,<br>});<br>After implementing<em> formatError<\/em> function, error response will include error details inside message field.<br><br><strong>Conclusion:<\/strong><br>Using ApolloError and UserInputError provides clear error messages, making it easier to understand issues. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apollo Server is a tool that helps to create GraphQL APIs easily. It makes setting up a GraphQL server simple and fast, allowing to define how data is organized and accessed. Apollo server also has built-n support for handling errors and monitoring performance. Error handling in GraphQL with Apollo Server&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Error Handling in GraphQL with Apollo Server<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":501,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-8185","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"h-entry","9":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Apollo Server is a tool that helps to create GraphQL APIs easily. It makes setting up a GraphQL server simple and fast, allowing to define how data is organized and accessed. Apollo server also has built-n support for handling errors and monitoring performance. Error handling in GraphQL with Apollo Server&hellip; Continue Reading Error Handling in GraphQL with Apollo Server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-03T17:03:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-03T17:03:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png\" \/>\n<meta name=\"author\" content=\"mounika\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"mounika\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/\"},\"author\":{\"name\":\"mounika\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/01d9ea3b8083c6d2fbabebbbb9f6ec9b\"},\"headline\":\"Error Handling in GraphQL with Apollo Server\",\"datePublished\":\"2024-09-03T17:03:50+00:00\",\"dateModified\":\"2024-09-03T17:03:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/\"},\"wordCount\":310,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image.png\",\"datePublished\":\"2024-09-03T17:03:50+00:00\",\"dateModified\":\"2024-09-03T17:03:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/image.png\",\"width\":762,\"height\":487},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/error-handling-in-graphql-with-apollo-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error Handling in GraphQL with Apollo Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/01d9ea3b8083c6d2fbabebbbb9f6ec9b\",\"name\":\"mounika\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/649da26ffd31b2ac850b80549fed038175a6ce33673b3389595178d5c3a31936?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/649da26ffd31b2ac850b80549fed038175a6ce33673b3389595178d5c3a31936?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/649da26ffd31b2ac850b80549fed038175a6ce33673b3389595178d5c3a31936?s=96&r=g\",\"caption\":\"mounika\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/mounika\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","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:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Apollo Server is a tool that helps to create GraphQL APIs easily. It makes setting up a GraphQL server simple and fast, allowing to define how data is organized and accessed. Apollo server also has built-n support for handling errors and monitoring performance. Error handling in GraphQL with Apollo Server&hellip; Continue Reading Error Handling in GraphQL with Apollo Server","og_url":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2024-09-03T17:03:50+00:00","article_modified_time":"2024-09-03T17:03:54+00:00","og_image":[{"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png","type":"","width":"","height":""}],"author":"mounika","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"mounika","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/"},"author":{"name":"mounika","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/01d9ea3b8083c6d2fbabebbbb9f6ec9b"},"headline":"Error Handling in GraphQL with Apollo Server","datePublished":"2024-09-03T17:03:50+00:00","dateModified":"2024-09-03T17:03:54+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/"},"wordCount":310,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/","url":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png","datePublished":"2024-09-03T17:03:50+00:00","dateModified":"2024-09-03T17:03:54+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/09\/image.png","width":762,"height":487},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/error-handling-in-graphql-with-apollo-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Error Handling in GraphQL with Apollo Server"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/01d9ea3b8083c6d2fbabebbbb9f6ec9b","name":"mounika","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/649da26ffd31b2ac850b80549fed038175a6ce33673b3389595178d5c3a31936?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/649da26ffd31b2ac850b80549fed038175a6ce33673b3389595178d5c3a31936?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/649da26ffd31b2ac850b80549fed038175a6ce33673b3389595178d5c3a31936?s=96&r=g","caption":"mounika"},"url":"https:\/\/pheonixsolutions.com\/blog\/author\/mounika\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-281","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/501"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=8185"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8185\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=8185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=8185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=8185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}