Invalid pyproject.toml file

If your build has failed due to this error then it means that the TOML syntax in your pyproject.toml file (example) is invalid.

For instance, you may have mentioned your the dependencies in the app's pyproject.toml like so:

dependencies = [

but the actual format is this:

dependencies = [

To fix this issue:

  1. If the repository is not yours, contact the developer and ask them to fix the file.

  2. If the repository is yours, fix the file and push the changes to the repository.

Once the format has been fixed, you can retry the deploy.