PageSourceSearch

https://docs-pactflow-preview.netlify.app/assets/js/4755d8ad.c72a74cb.js

js docs-pactflow-preview.netlify.app collected 2026-10-03 10:42:51 UTC 6,749 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpartners=self.webpackChunkpartners||[]).push([[31545],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),d=p(r),g=o,f=d["".concat(l,".").concat(g)]||d[g]||c[g]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=g;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[d]="string"==typeof e?e:o,i[1]=s;for(var p=2;p<a;p++)i[p]=r[p];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},50453:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>c,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={title:"Troubleshooting",sidebar_label:"Troubleshooting"},i=void 0,s={unversionedId:"docs/ai/troubleshooting",id:"docs/ai/troubleshooting",title:"Troubleshooting",description:"Errors",source:"@site/docs/docs/ai/troubleshooting.md",sourceDirName:"docs/ai",slug:"/docs/ai/troubleshooting",permalink:"/docs/ai/troubleshooting",draft:!1,editUrl:"https://github.com/pactflow/docs.pactflow.io/edit/master/website/docs/docs/ai/troubleshooting.md",tags:[],version:"current",lastUpdatedBy:"Matt Fellows",lastUpdatedAt:1744895180,formattedLastUpdatedAt:"Apr 17, 2025",frontMatter:{title:"Troubleshooting",sidebar_label:"Troubleshooting"},sidebar:"docs",previous:{title:"Managing PactFlow AI",permalink:"/docs/ai/managing"},next:{title:"Further Learning",permalink:"/docs/ai/learning"}},l={},p=[{value:"Errors",id:"errors",level:2},{value:"&quot;Forbidden Insufficient permissions&quot;",id:"forbidden-insufficient-permissions",level:3},{value:"&quot;AI disabled in system preferences&quot;",id:"ai-disabled-in-system-preferences",level:3},{value:"&quot;AI credits are exhausted&quot;",id:"ai-credits-are-exhausted",level:3},{value:"&quot;AI is not enabled for this plan&quot;",id:"ai-is-not-enabled-for-this-plan",level:3},{value:"Getting help and providing feedback",id:"getting-help-and-providing-feedback",level:2}],u={toc:p},d="wrapper";function c(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h2",{id:"errors"},"Errors"),(0,o.yg)("h3",{id:"forbidden-insufficient-permissions"},'"Forbidden Insufficient permissions"'),(0,o.yg)("p",null,"If you encounter the following error:"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre"},'ERROR: Client error: 403 Forbidden Insufficient permissions {"missing_permissions":["ai:generation:code"]}\n')),(0,o.yg)("p",null,"This indicates that the user does not have the required permissions to access the feature."),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Resolution:")),(0,o.yg)("p",null,"Ensure the necessary AI ",(0,o.yg)("a",{parentName:"p",href:"/docs/permissions#ai"},"permission")," is assigned to the user's role. In this example, the ",(0,o.yg)("inlineCode",{parentName:"p"},"ai:generation:code")," permission is required. For more details, refer to the ",(0,o.yg)("a",{parentName:"p",href:"/docs/permissions#ai"},"permissions")," documentation."),(0,o.yg)("h3",{id:"ai-disabled-in-system-preferences"}
1,'"AI disabled in system preferences"'),(0,o.yg)("p",null,'If the error message states that "AI disabled in system preferences", this means the AI feature has not been enabled for your account.'),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Resolution:"),"\nEnable the AI feature by following the steps outlined ",(0,o.yg)("a",{parentName:"p",href:"#enabling-the-feature"},"above"),"."),(0,o.yg)("h3",{id:"ai-credits-are-exhausted"},'"AI credits are exhausted"'),(0,o.yg)("p",null,"If you encounter the following error:"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre"},"ERROR: Client error: 403 Forbidden AI credits are exhausted.\n")),(0,o.yg)("p",null,"This indicates that you have exceeded the AI credits on the account and can no longer use any AI features. "),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Resolution:"),"\nUpgrade your plan to increase your credit allocation, or wait until the credits reset after 30 days. For more details on usage limits, see the ",(0,o.yg)("a",{parentName:"p",href:"#usage-limits"},"documentation"),"."),(0,o.yg)("h3",{id:"ai-is-not-enabled-for-this-plan"},'"AI is not enabled for this plan"'),(0,o.yg)("p",null,'If the error message states that "AI features are not enabled on this plan", your plan does not include AI features as part of its entitlements.'),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Resolution:"),"\nUpgrade to a plan that has AI enabled."),(0,o.yg)("h2",{id:"getting-help-and-providing-feedback"},"Getting help and providing feedback"),(0,o.yg)("p",null,"For feedback, feature requests, or assistance with the tool, join our ",(0,o.yg)("a",{parentName:"p",href:"https://pact-foundation.slack.com/archives/C07K2FT0XKK"},"slack channel")," or speak directly with your Account Manager. For general support, please follow the ",(0,o.yg)("a",{parentName:"p",href:"https://support.smartbear.com/pactflow/message/"},"usual methods"),"."))}c.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.