I have one use case where I need to upload the apk file to Firebase Storage.
Stuck here for a long time, not sure why it’s not working and how to make it work.
But when I trying to upload a file from web application call the API, I’m receiving 400 BAD request
POST https://firebasestorage.googleapis.com/v0/b/—–.appspot.com/o?name=applications%2F-O0ZzNWYNzsqOk8j9ktD%2Fversions%2F-O0_7tl6u72kaAmm3xTK.apk&upload_id=ACJd0NrwhTZC7vpY5ORvSSkMaJ9cZFGw0-e1zZZ5WmdPBvuLbBNQZF0v1IXegzqh7qTkVIiepRPq7f-ixfgt9LU_EehFTHJWNMmgnU5wftAtdqSB3g&upload_protocol=resumable 400 (Bad Request)
connection.ts:81
FirebaseError: Firebase Storage: An unknown error occurred, please check the error payload for server response. (storage/unknown)
code: 400
message: “Executable files are forbidden on the Spark billing plan.”
Expected behaviour is -> apk should upload without any issue.