*This page
applies to **Apigee** and **Apigee hybrid**.*

*View [Apigee Edge](https://docs.apigee.com/api-platform/troubleshoot/policies/introduction) documentation.*

<br />

The policy playbooks provide detailed troubleshooting information for runtime and
deployment errors associated with Apigee policies.

## Playbooks for policy runtime errors

Runtime errors are errors that can occur while a policy executes in the context
of an API proxy flow. When a runtime error occurs, the proxy flow enters the error
state, and you need to diagnose and fix the problem and redeploy the proxy.

Apigee currently provides policy runtime error playbooks for these policies:

- [AssignMessage](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/assign-message-runtime-errors.md.txt)
- [BasicAuthentication](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/basic-authentication-runtime-errors.md.txt)
- [ExtractVariables](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/extract-variables-runtime-errors.md.txt)
- [FlowCallout](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/flowcallout-runtime-errors.md.txt)
- [JavaScript](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/javascript-runtime-errors.md.txt)
- [JSONThreatProtection](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/jsonthreatprotection-errors.md.txt)
- [JSONtoXML](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/jsontoxml-runtime-errors.md.txt)
- [KeyValueMapOperations](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/key-value-map-runtime-errors.md.txt)
- [PythonScript](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/python-script-runtime-errors.md.txt)
- [Quota](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/quota-runtime-errors.md.txt)
- [ResetQuota](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/reset-quota-runtime-errors.md.txt)
- [ServiceCallout](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/service-callout-runtime-errors.md.txt)
- [SpikeArrest](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/spike-arrest-runtime-errors.md.txt)
- [XMLThreatProtection](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/xmlthreatprotection-runtime-errors.md.txt)
- [XMLtoJSON](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/xmltojson-runtime-errors.md.txt)
- [XSLTransform](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/runtime/xsl-transform-runtime-errors.md.txt)

## Playbooks for policy deployment errors

Deployment errors occur when you deploy your proxy and Apigee determines a policy
is not configured correctly. Deployment stops, and you need to debug and
fix the problem before you can deploy the proxy.

Apigee currently provides policy deployment error playbooks for these policies:

- [AssignMessage](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/assign-message-deployment-errors.md.txt)
- [BasicAuthentication](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/basic-authentication-deployment-errors.md.txt)
- [ExtractVariables](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/extract-variables-deployment-errors.md.txt)
- [InvalidateCache](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/invalidate-cache-deployment-errors.md.txt)
- [JavaScript](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/javascript-deployment-errors.md.txt)
- [KeyValueMapOperations](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/key-value-map-deployment-errors.md.txt)
- [LookupCache](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/lookup-cache-deployment-errors.md.txt)
- [MessageLogging](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/message-logging-deployment-errors.md.txt)
- [PopulateCache](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/populate-cache-deployment-errors.md.txt)
- [PythonScript](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/python-script-deployment-errors.md.txt)
- [Quota](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/quota-deployment-errors.md.txt)
- [RegularExpressionProtection](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/regular-expression-protection-deployment-errors.md.txt)
- [ResetQuota](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/reset-quota-deployment-errors.md.txt)
- [ResponseCache](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/responsecache-deployment-errors.md.txt)
- [SAMLAssertion](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/samlassertion-deployment-errors.md.txt)
- [ServiceCallout](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/service-callout-deployment-errors.md.txt)
- [SpikeArrest](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/spike-arrest-deployment-errors.md.txt)
- [StatisticsCollector](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/stats-collector-deployment-errors)
- [XMLtoJSON](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/xmltojson-deployment-errors.md.txt)
- [XSLTransform](https://docs.cloud.google.com/apigee/docs/api-platform/troubleshoot/policies/deployment/xsl-transform-deployment-errors.md.txt)