You can’t do the downgrade easily because database changes occurred between beta1 and beta3.
You’ll have to restore a database backup prior to the upgrade if you can.
Anyway, to install a fixed version of discourse, you can add the following lines in your container.yml file:
params:
version: v1.4.0.beta1