[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-732912-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-732912-en":130,"doc-similar-732912":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","api-platform-error-response-reference-guide-version-30","API Platform - Error Response Reference Guide - Version 3.0","","API Platform Error Response Reference Guide (Version 3.0) documents how API calls can fail and how to interpret standardized error responses. It lists error codes by use case, including authentication failures (e.g., invalid credentials, missing or expired tokens, missing Basic in Authorization header), token generation errors, authorization/resource forbidden scenarios, and backend or gateway unavailability such as runtime errors, service unavailable, and timeout conditions. The guide also records document version history and notes updates to the error code list.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/api-platform-error-response-reference-guide-version-30/732912/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/api-platform-error-response-reference-guide-version-30/732912.png","ImageObject",300,407,{"name":42,"@type":43},"lilac","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-11-22",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What information does the guide provide for API integration troubleshooting?","Question",{"text":62,"@type":63},"The guide maps API use cases to error codes, error messages, and descriptions to support diagnosis during integration and troubleshooting.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which HTTP status codes are covered in the error response tables?",{"text":67,"@type":63},"The tables include HTTP 401 (authentication/token issues), 400 (request validation such as missing grant_type), 403 (resource forbidden), and 5xx codes like 500, 503, and 504 for backend/gateway and timeout scenarios.",{"name":69,"@type":60,"acceptedAnswer":70},"How does the guide help when an API invocation fails due to authentication?",{"text":71,"@type":63},"It provides specific error descriptions for cases such as incorrect access tokens, expired or missing tokens, and token generation problems (including missing Basic in the Authorization header or invalid key/secret), along with the associated error code and message.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},732912,1795382821,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":101,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":33,"preview_urls":144},3985747861865,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","API PLATFORM  \nError Response Reference Guide  \nVersion 3.0 // October 2023  \nDocument History  \nThe Document History records amendments to this document.  \n\n| Version \\# | Date | Comments |\n| --- | --- | --- |\n| 1.0 | May 2022 | Initial release |\n| 2.0 | June 2022 | Modified PROD deployment date for changes |\n| 3.0 | October 2023 | Updated list of Error Codes |\n\nError Code Reference Information  \nThe error codes outlined in this document may help with API integration and troubleshooting.  \nThe table below shows the latest API Platform error codes, error messages, and a description of the use case associated with each.  \n\n| Use Case | [HTTP_ERROR](HTTP_ERROR)[_CODE](_CODE) | ERROR_MESSAGE |\n| --- | --- | --- |\n| API invocation-using incorrect Access Tokens | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900901\u003C/ams:code>\u003Cbr>\u003Cams:message>Invalid Credentials\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 status:\u003Cbr>(900901) - Invalid Credentials. Make sure you have provided the correct security credentials\u003C/ams:description>\u003Cbr>\u003C/ams:fault> |\n| API invocationExpired Tokens | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900901\u003C/ams:code>\u003Cbr>\u003Cams:message>Invalid Credentials\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 status:\u003Cbr>(900901) - Invalid Credentials. Make sure you have provided the correct security credentials\u003C/ams:description>\u003Cbr>\u003C/ams:fault> |\n| API invocationMissing Tokens | 401 | \u003Cam:fault xmlns:am=\"[http://wso2.org/apimanager](http://wso2.org/apimanager)\">\u003Cbr>\u003Cam:code>900902\u003C/am:code>\u003Cbr>\u003Cam:message>Invalid Credentials\u003C/am:message>\u003Cbr>\u003Cam:description>Access failure for API: /hello-world/v1, version: v1 with ERR_CD: 902H\u003C/am:description>\u003Cbr>\u003C/am:fault> |\n| Token generationMissing ‘Basic’ in Auth Header | 401 | {\"error_description\":\"Client Authentication\u003Cbr>failed.\",\"error\":\"invalid_token_request\"} |\n| Token generationInvalid key/secret | 401 | {\"error_description\":\"Client Authentication\u003Cbr>failed.\",\"error\":\"invalid_token_request\"} |\n\n\n| API invocation\u003Cbr>Expired SMSESSION | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900990\u003C/ams:code>\u003Cbr>\u003Cams:message>Unclassified Authentication Failure\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 with ERR_CD: 0002\u003C/ams:description>\u003Cbr>\u003C/ams:fault> |\n| --- | --- | --- |\n| API invocation\u003Cbr>Invalid SMSESSION | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900990\u003C/ams:code>\u003Cbr>\u003Cams:message>Unclassified Authentication Failure\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 with ERR_CD: 0005\u003C/ams:description>\u003Cbr>\u003C/ams:fault> |\n| API invocationInvalid key and valid SMSESSION | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900901\u003C/ams:code>\u003Cbr>\u003Cams:message>Invalid Credentials\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 with ERR_CD: 006S . Make sure you have provided the correct security\u003Cbr>credentials\u003C/ams:description>\u003C/ams:fault> |\n| API invocation (with SMSESSION) -blocked API | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900907 \u003C/ams:code>\u003Cbr>\u003Cams:message>Invalid Credentials\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 with ERR_CD: 006S\u003C/ams:description>\u003Cbr>\u003C/ams:fault> |\n| API invocation (with access token) -blocked API | 401 | \u003Cams:fault xmlns:ams=\"[http://apiresponse.com/message](http://apiresponse.com/message)\">\u003Cbr>\u003Cams:code>900907 \u003C/ams:code>\u003Cbr>\u003Cams:message>Invalid Credentials\u003C/ams:message>\u003Cbr>\u003Cams:description>Access failure for API: /hello-world/v1, version: v1 with ER","cbCaifValot3688Q","https://ap.wps.com/l/cbCaifValot3688Q","pdf",270553,"English","# Document History\n# Error Code Reference Information\n## Authentication and Token Errors\n## Authorization and Subscription Errors\n## Server and Gateway Errors","[{\"question\":\"What information does the guide provide for API integration troubleshooting?\",\"answer\":\"The guide maps API use cases to error codes, error messages, and descriptions to support diagnosis during integration and troubleshooting.\"},{\"question\":\"Which HTTP status codes are covered in the error response tables?\",\"answer\":\"The tables include HTTP 401 (authentication/token issues), 400 (request validation such as missing grant_type), 403 (resource forbidden), and 5xx codes like 500, 503, and 504 for backend/gateway and timeout scenarios.\"},{\"question\":\"How does the guide help when an API invocation fails due to authentication?\",\"answer\":\"It provides specific error descriptions for cases such as incorrect access tokens, expired or missing tokens, and token generation problems (including missing Basic in the Authorization header or invalid key/secret), along with the associated error code and message.\"}]","API Platform - Error Response Reference Guide - Version 3.0 | PDF",15,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/a8b4cfd6c8ed43a1a6db64e438b7d93e.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/d8190c503b491fabe7ad5549e73c8b42.webp",982,1270,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/097f1e6d2b0daa33073909662154fa2c.webp",981,757,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/129657f663f0910017d6c35117c5f5d7.webp",980,756,{"list":162,"token":11},[163,169,175,181,187,194,200,207,213,219],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":33,"category_name":29,"create_tm":168},732226,"Reason Codes for the Simple Order API","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031403515/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=F5uzwXn%2FrDgpxMKtO1%2FlnmbvNL4%3D","reason-codes-for-the-simple-order-api",1795379090,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":96,"category_name":29,"create_tm":174},733067,"Understanding - Common HTTP Status Codes - WebSphere Application Server Support","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031416018/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=EQFWQc3F9V3EUngDIbdRpqt51l0%3D","understanding-common-http-status-codes-websphere-application-server-support",1795383541,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":101,"category_name":29,"create_tm":180},698806,"API - How to Use - First Steps","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010426990/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=7Lv1%2Bm8dB%2BnnjBW1osLKSfdxnFU%3D","api-how-to-use-first-steps",1794455370,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":96,"category_name":29,"create_tm":186},698912,"B-Unit App Enrollment - iOS and Android User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009900540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1G0SouOroZUwQPgswLinwIflb7o%3D","b-unit-app-enrollment-ios-and-android-user-guide",1794456989,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":29,"create_tm":193},673531,"MRI API Integrations Guide - How to integrate RESTful APIs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990908555/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=k9eogHgBqBnamKA5e7MW4%2BHSAvY%3D","mri-api-integrations-guide-how-to-integrate-restful-apis",14,1793647802,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":101,"category_name":29,"create_tm":199},698718,"GitHub API - Version 1.6.1 - Minimal client to access the GitHub API","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010418571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=5wqxE2%2F4ptX8jJ47LHF6%2FtpHZPo%3D","github-api-version-161-minimal-client-to-access-the-github-api",1794455143,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":29,"create_tm":206},673475,"Tooling API - Reference and Developer Guide - Version 68 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990884777/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=tc5JEZobqKGlUhv0LJ63Cba3AFQ%3D","tooling-api-reference-and-developer-guide-version-68-winter-27",13,1793644472,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":96,"category_name":29,"create_tm":212},703176,"NetSuite Integration - Building a Customer Portal with OAuth2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012255756/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1kFc240Y2r82E8PYzhCprMqtzFI%3D","netsuite-integration-building-a-customer-portal-with-oauth2",1794561996,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":30,"category_name":29,"create_tm":218},701171,"Practical Guide to Building an API Back End with Spring Boot - Version 1.0 - Copyright and publication information","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011580250/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=gAynpU1znFLQmuT%2FeapIFCz40KI%3D","practical-guide-to-building-an-api-back-end-with-spring-boot-version-10-copyright-and-publication-information",1794523902,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":33,"category_name":29,"create_tm":224},734790,"UPI Response Codes for H2H/API","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230033105086/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2BpKLsQgyGHofJH%2FVlou%2BHrCT6ss%3D","upi-response-codes-for-h2hapi",1795422022]