simple-salesforce-deploy-expects-filepath-or-iobytes-not-base64
simple-salesforce’s mdapi.deploy() expects a file path string or IO[bytes] object — NOT a raw base64 string. When the caller has base64-encoded zip content (e.g. from sf_build_deploy_package), it must decode via base64.b64decode() and wrap in io.BytesIO() before passing to deploy(). The library performs its own base64 encoding internally.
Related
- simple-salesforce-mdapi-deploy-expects-path-or-bytesio-not-b
- simple-salesforce-deploy-expects-file-path-or-bytesio-not-ba
- simple-salesforce-deploy-expects-fileobj-not-base64
- simple-salesforce-deploy-expects-io-bytes-not-base64
- simple-salesforce-deploy-expects-filepath-not-base64
- sf-lwc-deploy-required-full-rewrite-tooling-api-approach
- simple-salesforce-deploy-expects-file-path-or-io-bytes-not-b