blake-mealey / mantle

An infrastructure-as-code and deployment tool for Roblox.
https://mantledeploy.vercel.app/
MIT License
93 stars 11 forks source link

Place upload endpoint is deprecated, causing unclear 'file may be too large' errors #224

Closed autonordev closed 2 months ago

autonordev commented 2 months ago

In my project, I was experiencing an error with place files not uploading correctly.

Failed: Place file size may be too large.

This was after a heavy but essential model was added to the source tree, so I assumed it to be that. However, uploading in studio still worked fine. Removing the heavy model still results in this error though.

Investigating this further, I attempted to upload via Rojo using an Open Cloud key; this upload was successful. I tried uploading via Rojo using a cookie instead, and got this output:

image

It seems like both Rojo and Mantle upload via the same endpoint. Although Rojo does provide different headers.

This makes me suspect that Roblox are possibly killing the endpoint in an A/B test.

Environment (please complete the following information):

blake-mealey commented 2 months ago

A fix for this was implemented in v0.11.15 by adding support for the Open Cloud Place Publishing API. Please view the release for more details.