800 is the resource limitation in the template. Based on this thread:
The "Deployments per resource group" in https://learn.microsoft.com/en-gb/azure/azure-subscription-service-limits#resource-group-limits specifies the limit of the deployments history. The deployments history can be accessed in the resource group under Settings > Deployments. Deletion of the resources does not remove the deployments from the history, and the other way round - deleting the deployments history does not affect the state of the resources in the resource group. Once the limit of 800 deployments is reached, further deployments will not be possible. Even if you have no resources in the resource group, the deployments history would need to be cleared in order to proceed with the further deployments.> https://learn.microsoft.com/en-us/answers/questions/954063/why-is-azure-so-broken
https://stackoverflow.com/questions/68477355/arm-template-800-resource-limitation