{"id":503,"date":"2023-11-15T21:39:15","date_gmt":"2023-11-15T21:39:15","guid":{"rendered":"https:\/\/test.samplewebsitelink.com\/ordba\/?p=503"},"modified":"2023-11-15T21:39:18","modified_gmt":"2023-11-15T21:39:18","slug":"error-and-exception-handling","status":"publish","type":"post","link":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/","title":{"rendered":"ERROR AND EXCEPTION HANDLING"},"content":{"rendered":"\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ordba.net\/rdbmsimages\/a3.png\" alt=\"\" style=\"width:414px;height:auto\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">ERROR AND EXCEPTION HANDLING<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PLSQL handles the errors caused at the server level and publishes them using the following functions:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EXCEPTION Thisdatatype is declared in DECLARE section of the PLSQL code enables to call those as and when they are required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An internal exception is raised implicitly whenever your PL\/SQL program violates an Oracle rule or exceeds a system-dependent limit. Every Oracle error has a number, but exceptions must be handled by name. So, PL\/SQL predefines some common Oracle errors as exceptions. For example, PL\/SQL raises the predefined exception NO_DATA_FOUND if a SELECT INTO statement returns no rows.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To handle other Oracle errors, you can use the OTHERS handler.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The functions SQLCODE and SQLERRM are especially useful in the OTHERS handler because they return the Oracle error code and message text. Alternatively, you can use the pragma EXCEPTION_INIT to associate exception names with Oracle error codes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: ACCESS_INTO_NULL<br>Oracle Error: ORA-06530<br>SQLCODE: -6530<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to assign values to the attributes of an uninitialized (atomically null) object.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: CASE_NOT_FOUND<br>Oracle Error: ORA-06592<br>SQLCODE: -6592<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">None of the choices in the WHEN clauses of a CASE statement is selected, and there is no ELSE clause.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: COLLECTION_IS_NULL<br>Oracle Error: ORA-06531<br>SQLCODE: -6531<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to apply collection methods other than EXISTS to an uninitialized (atomically null) nested table or varray, or the program attempts to assign values to the elements of an uninitialized nested table or varray.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: CURSOR_ALREADY_OPEN<br>Oracle Error: ORA-06511<br>SQLCODE: -6511<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to open an already open cursor. A cursor must be closed before it can be reopened. A cursor FOR loop automatically opens the cursor to which it refers. So, your program cannot open that cursor inside the loop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: DUP_VAL_ON_INDEX<br>Oracle Error: ORA-00001<br>SQLCODE: -1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to store duplicate values in a database column that is constrained by a unique index.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: INVALID_CURSOR<br>Oracle Error: ORA-01001<br>SQLCODE: -1001<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts an illegal cursor operation such as closing an unopened cursor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: INVALID_NUMBER<br>Oracle Error: ORA-01722<br>SQLCODE: -1722<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a SQL statement, the conversion of a character string into a number fails because the string does not represent a valid number. (In procedural statements, VALUE_ERROR is raised.) This exception is also raised when the LIMIT-clause expression in a bulk FETCH statement does not evaluate to a positive number.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: LOGIN_DENIED<br>Oracle Error: ORA-01017<br>SQLCODE: -1017<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to log on to Oracle with an invalid username and\/or password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: NO_DATA_FOUND<br>Oracle Error: ORA-01403<br>SQLCODE: +100<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A SELECT INTO statement returns no rows, or your program references a deleted element in a nested table or an un-initialized element in an index-by table. SQL aggregate functions such as AVG and SUM always return a value or a null. So, a SELECT INTO statement that calls an aggregate function never raises NO_DATA_FOUND. The FETCH statement is expected to return no rows eventually, so when that happens, no exception is raised.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: NOT_LOGGED_ON<br>Oracle Error: ORA-01012<br>SQLCODE: -1012<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program issues a database call without being connected to Oracle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: PROGRAM_ERROR<br>Oracle Error: ORA-06501<br>SQLCODE: -6501<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PL\/SQL has an internal problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: ROWTYPE_MISMATCH<br>Oracle Error: ORA-06504<br>SQLCODE: -6504<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The host cursor variable and PL\/SQL cursor variable involved in an assignment have incompatible return types. For example, when an open host cursor variable is passed to a stored subprogram, the return types of the actual and formal parameters must be compatible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: SELF_IS_NULL<br>Oracle Error: ORA-30625<br>SQLCODE: -30625<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to call a MEMBER method on a null instance. That is, the built-in parameter SELF (which is always the first parameter passed to a MEMBER method) is null.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: STORAGE_ERROR<br>Oracle Error: ORA-06500<br>SQLCODE: -6500<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PL\/SQL runs out of memory or memory has been corrupted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: SUBSCRIPT_BEYOND_COUNT<br>Oracle Error: ORA-06533<br>SQLCODE: -6533<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program references a nested table or varray element using an index number larger than the number of elements in the collection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: SUBSCRIPT_OUTSIDE_LIMIT<br>Oracle Error: ORA-06532<br>SQLCODE: -6532<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program references a nested table or varray element using an index number (-1 for example) that is outside the legal range.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: SYS_INVALID_ROWID<br>Oracle Error: ORA-01410<br>SQLCODE: -1410<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The conversion of a character string into a universal rowid fails because the character string does not represent a valid rowid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: TIMEOUT_ON_RESOURCE<br>Oracle Error: ORA-00051<br>SQLCODE: -51<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A time-out occurs while Oracle is waiting for a resource.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: TOO_MANY_ROWS<br>Oracle Error: ORA-01422<br>SQLCODE: -1422<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A SELECT INTO statement returns more than one row.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: VALUE_ERROR<br>Oracle Error: ORA-06502<br>SQLCODE: -6502<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when your program selects a column value into a character variable, if the value is longer than the declared length of the variable, PL\/SQL aborts the assignment and raises VALUE_ERROR. In procedural statements, VALUE_ERROR is raised if the conversion of a character string into a number fails. (In SQL statements, INVALID_NUMBER is raised.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exception: ZERO_DIVIDE<br>Oracle Error: ORA-01476<br>SQLCODE: -1476<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your program attempts to divide a number by zero.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An Example of handling exception (from Oracle Docs)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DECLARE<br>past_due EXCEPTION;<br>acct_num NUMBER;<br>BEGIN<br>DECLARE &#8212;&#8212;&#8212;- sub-block begins<br>past_due EXCEPTION; &#8212; this declaration prevails<br>acct_num NUMBER;<br>BEGIN<br>&#8230;<br>IF &#8230; THEN<br>RAISE past_due; &#8212; this is not handled<br>END IF;<br>END; &#8212;&#8212;&#8212;&#8212;- sub-block ends<br>EXCEPTION<br>WHEN past_due THEN &#8212; does not handle RAISE exception<br>&#8230;<br>END;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ERROR AND EXCEPTION HANDLING PLSQL handles the errors caused at the server level and publishes them using the following functions: EXCEPTION Thisdatatype is declared in DECLARE section of the PLSQL code enables to call those as and when they are required. An internal exception is raised implicitly whenever your PL\/SQL program violates an Oracle rule &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/\"> <span class=\"screen-reader-text\">ERROR AND EXCEPTION HANDLING<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":504,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[20],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pl-sql-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ERROR AND EXCEPTION HANDLING - Ordba<\/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:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ERROR AND EXCEPTION HANDLING - Ordba\" \/>\n<meta property=\"og:description\" content=\"ERROR AND EXCEPTION HANDLING PLSQL handles the errors caused at the server level and publishes them using the following functions: EXCEPTION Thisdatatype is declared in DECLARE section of the PLSQL code enables to call those as and when they are required. An internal exception is raised implicitly whenever your PL\/SQL program violates an Oracle rule &hellip; ERROR AND EXCEPTION HANDLING Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/\" \/>\n<meta property=\"og:site_name\" content=\"Ordba\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-15T21:39:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-15T21:39:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/wp-content\/uploads\/2023\/11\/article-3-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"700\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ordba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ordba\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/\",\"name\":\"ERROR AND EXCEPTION HANDLING - Ordba\",\"isPartOf\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\"},\"datePublished\":\"2023-11-15T21:39:15+00:00\",\"dateModified\":\"2023-11-15T21:39:18+00:00\",\"author\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\"},\"breadcrumb\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ERROR AND EXCEPTION HANDLING\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\",\"name\":\"Ordba\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.samplewebsitelink.com\/ordba\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\",\"name\":\"ordba\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g\",\"caption\":\"ordba\"},\"sameAs\":[\"https:\/\/test.samplewebsitelink.com\/ordba\"],\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/author\/ordba\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ERROR AND EXCEPTION HANDLING - Ordba","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:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/","og_locale":"en_US","og_type":"article","og_title":"ERROR AND EXCEPTION HANDLING - Ordba","og_description":"ERROR AND EXCEPTION HANDLING PLSQL handles the errors caused at the server level and publishes them using the following functions: EXCEPTION Thisdatatype is declared in DECLARE section of the PLSQL code enables to call those as and when they are required. An internal exception is raised implicitly whenever your PL\/SQL program violates an Oracle rule &hellip; ERROR AND EXCEPTION HANDLING Read More &raquo;","og_url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/","og_site_name":"Ordba","article_published_time":"2023-11-15T21:39:15+00:00","article_modified_time":"2023-11-15T21:39:18+00:00","og_image":[{"width":700,"height":700,"url":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-content\/uploads\/2023\/11\/article-3-1.jpg","type":"image\/jpeg"}],"author":"ordba","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ordba","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/","url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/","name":"ERROR AND EXCEPTION HANDLING - Ordba","isPartOf":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website"},"datePublished":"2023-11-15T21:39:15+00:00","dateModified":"2023-11-15T21:39:18+00:00","author":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f"},"breadcrumb":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/15\/error-and-exception-handling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.samplewebsitelink.com\/ordba\/"},{"@type":"ListItem","position":2,"name":"ERROR AND EXCEPTION HANDLING"}]},{"@type":"WebSite","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website","url":"https:\/\/test.samplewebsitelink.com\/ordba\/","name":"Ordba","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.samplewebsitelink.com\/ordba\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f","name":"ordba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g","caption":"ordba"},"sameAs":["https:\/\/test.samplewebsitelink.com\/ordba"],"url":"https:\/\/test.samplewebsitelink.com\/ordba\/author\/ordba\/"}]}},"_links":{"self":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":505,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/503\/revisions\/505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/media\/504"}],"wp:attachment":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}