Internal Service Error: CodeBuild is experiencing issues

While “PROVISIONING” the build sometimes we can get the issue such as “Internal Service Error: CodeBuild is experiencing issues”.

This can be because of many issues like wrong image used while build or permission issue of AWS codeBuild role.

But most of the time this can be the issue with the length of the environment variables. If your build is using environment variables that are two large to handle for the codeBuild. then we can see this error is blocking the build process.

This error is raised when the length of the environment variables exceeds the combined maximum of around 5,500 characters.

Try to reduce the length of environment variables or you can use Amazon system parameter to store large environmental variables and retrieve them from your buildSpec file.

To store large environment variables check https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html

So next time whenever you get this error try above and enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top