Ready BUT not ready for Deployment of WebApp

In the Building Web Applications section, module/lecture 22- Deployment, I am getting as far as entering in the terminal: “git push heroku main:main”. I read somewhere the using “main” in place of “master” is the updated way to deploy.

The result spits out:

pasted below
Enumerating objects: 181, done.
Counting objects: 100% (181/181), done.
Delta compression using up to 12 threads
Compressing objects: 100% (174/174), done.
Writing objects: 100% (181/181), 621.61 KiB | 6.28 MiB/s, done.
Total 181 (delta 36), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (36/36), done.
remote: 2024/02/26 21:41:55 Rollbar error: empty token
remote: Updated 161 paths from ff7cfc0
remote: Compressing source files… done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-22 stack
remote: -----> Using buildpack: heroku/python
remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
remote: More info: Buildpacks | Heroku Dev Center
remote:
remote: ! Push failed
remote: !

remote: ! ## Warning - The same version of this code has already been built: cc0b785792823d9e3df9460baa8a7ceea82021f3
remote: !
remote: ! We have detected that you have triggered a build from source code with version cc0b785792823d9e3df9460baa8a7ceea82021f3
remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote: !
remote: ! If you are developing on a branch and deploying via git you must run:
remote: !
remote: ! git push heroku :main
remote: !
remote: ! This article goes into details on the behavior:
remote: ! Duplicate Build Version Detected | Heroku Dev Center
remote:
remote: Verifying deploy…
remote:
remote: ! Push rejected to hidden-scrubland-92739.
remote:
To https://git.heroku.com/hidden-scrubland-92739.git
! [remote rejected] main → main (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/hidden-scrubland-92739.git
END PASTE*

Not sure why App is not compatible

I have listed packages: gunicorn 21.2.0; Django 4.1; django-tastypie 0.14.6, pip 24.*;

Using the buildpack: heroku/python

Any help would be greatly appreciated.

Disregard. I figured it out, but not sure exactly how. It may have been through updating heroku in the terminal or playing with the “%git config…” commands in the terminal.

This was lead to after exploring the “Getting Started on Heroku with Python” within the Dev Center on the Heroku website.

In the end all complete on the Building Web Applications with Django section

Good luck.

hello can u please tell me i just downloaded heroku cli first time so as per mosh i went to vs code and ran this line but its not working telling forverify billling how did u got it right>?
heroku create
Creating app… !
▸ To create an app, verify your account by adding payment information.
▸ Verify now at https://heroku.com/verify Learn more at
Account Verification | Heroku Dev Center