API Down, Can't Deploy

I can not deploy and our api is down. This is for a production environment.

App ID: 637EAF50-C824-4368-FF6E-9C88F79A4600

23:48:06.785 [master] Building Model…
23:48:07.026 [master] ServerCode Model built in 241ms
23:48:07.026 [master] Timers (4):
23:48:07.027 [master] MerchantListingService (services\MerchantListingService.js)
23:48:07.027 [master] PricePointBatchingExpiration (services\PricePointBatchingService.js)
23:48:07.027 [master] SellerTransferService (services\SellerTransferService.js)
23:48:07.027 [master] SKUmatchingService (services\SKUmatchingService.js)
23:48:07.028 [master] Services (2):
23:48:07.028 [master] PricePointBatchingService (services\PricePointBatchingService.js)
23:48:07.029 [master] SecondLifeBooksService (services\SecondLifeBooksService.js)
23:48:07.037 [master] Preparing app zip file for deployment…
23:48:07.524 [master] 1908 files added into deployment archive
23:48:07.610 [master] Publishing Model to server
23:48:07.621 [master] Error: Unable to publish model. Failed to execute ‘append’ on ‘FormData’: parameter 2 is not of type ‘Blob’

Hello @Luke_Jasudavicius,

The error you encountered:

Error: Unable to publish model. Failed to execute ‘append’ on ‘FormData’: parameter 2 is not of type ‘Blob’

should give you a clue about the issue. I’d recommend locating the FormData.append() call in your code and verifying the arguments you are passing. Make sure the second parameter is a Blob, File, or string, as required by the API.

Let me know if you need further assistance!

We do not have a variable FormData or an append function call in our server side project. Is the error happening on backendless side?

Are you certain the issue is on our end? It’s not clear to me why an error like this would happen during publication; after building, but before execution.

I have also rolled back our repo to attempt to publish a build in the past which I know worked and I get the same error.

HI @Luke_Jasudavicius

What version of JSCodeRunner do you use? you see it in the package.json, module name is backendless-coderunner

Ok, updated the coderunner version and that fixed it. Thanks!

1 Like