simple-salesforce-deploy-expects-file-path-or-bytesio-not-base64
SfdcMetadataApi.deploy() expects either a file path string or an IO[bytes] object — NOT a base64-encoded string. When sf_build_deploy_package returns base64 content, it must be decoded and wrapped in io.BytesIO before passing to deploy(). The library internally handles base64 encoding; passing pre-encoded content causes a double-encode failure.
Related
- simple-salesforce-mdapi-deploy-expects-path-or-bytesio-not-b
- simple-salesforce-mdapi-deploy-expects-path-or-io-not-base64
- simple-salesforce-deploy-expects-filepath-not-base64
- salesforce
- simple-salesforce-mdapi-deploy-returns-tuple-not-dict
- simple-salesforce-retrieve-unpackaged-kwarg-not-positional-p
- sf-lwc-deploy-preexisting-design-flaw-dict-not-zip
- removing-base64-encode-makes-import-base64-dead-code
- simple-salesforce-deploy-expects-fileobj-not-base64
- salesforce-metadata-api-zip-no-src-prefix
- salesforce-mcp-describe-parameter-is-sobject-not-object-name
- simple-salesforce-deploy-expects-io-bytes-not-base64
- simple-salesforce-deploy-expects-filepath-or-iobytes-not-bas
- simple-salesforce-deploy-expects-file-path-or-io-bytes-not-b