How do I fix expired Duplo token deployment errors?
Context When deploying changes to production environments using GitHub Actions, you may encounter failures related to "ReadableStream" errors. One common cause for this is an expired Duplo token, which needs to be renewed for successful deployments. Answer If you encounter deployment failures and suspect an expired Duplo token, follow these steps to generate a new permanent API token: Navigate to the Duplo Cloud console Go to Settings > API Tokens section Generate a new permanent API token Update the DUPLO_TOKEN environment variable in your production deployment configuration with the new token Re-run your deployment Note that permanent API tokens have a validity period of 1 year, after which they need to be renewed. Please set up the notifications for API tokens nearing expiration. For detailed instructions on generating API tokens, refer to the Duplo Cloud API Token Documentation .