Can´t create React scaffold app through "apps:create ./dist" command | Community
Skip to main content

Can´t create React scaffold app through "apps:create ./dist" command

  • February 17, 2026
  • 5 replies
  • 0 views

Hi,  

 

I am struggling with uploading my zendesk app to my companies zendesk sandbox env. I have created my app by following the docs  for “Using React in a Support app”.  I am logged in to correct subdomain and have created a build. When I then type “zcli apps:create ./dist” from the root directory of my app, i am getting this error: 

 

Upload failed with response:  <html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>

Uploading app... Failed
›   Error: Failed to upload app 

 

When i try to run “zcli apps:validate ./dist”, i get this error: 

zcli apps:validate ./dist        

›   Error: Error
 

I am also getting Error:Error when trying to “zcli apps:package ./dist”. It creates a zip file tho, inside dist/tmp. I have tried to upload the file manually to admin portal, but when searching after app_id inside this url, (Support: https://{subdomain}.zendesk.com/api/support/apps/installations.json),  I can´t see my newly created app. 

 

How do I make apps:create command to work?

 

I use zcli and node version 22. 

5 replies

Ahmed11
  • February 18, 2026

Hi @daria12 ,

The error should read

Uploading app... Failed
›   Error: Failed to upload app ${manifest.name}

Do you see the app name in the error you get? Otherwise, it may indicate that the manifest is not read correctly due to misconfiguration or missing name property.


  • Author
  • February 18, 2026

Hi,  Yes I can see “ ›   Error: Failed to upload app Customer Notes”


Ahmed11
  • February 19, 2026

Hi @daria12 ,

The 400 response you are getting is from the package upload endpoint https://developer.zendesk.com/api-reference/ticketing/apps/apps/#upload-app-package. The strange thing is that it is not even documented in the API portal.

I am not sure why you are getting non verbose error when you run package or validate commands. zcli is good at catching many error in manifest or app structure (I am using @zendesk/zcli/1.0.0-beta.55).

Perhaps it is worth double checking your dist/ structure where it should look something like this


  • Author
  • February 23, 2026

Hi again Ahmed, 

 

Thank you for responding. I can indeed see uploading error with apps name in it: 
r04811@RBL-WYGX6Q ccf-zendesk-notes-app % zcli apps:create ./dist 
Upload failed with response:  <html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
Uploading app... Failed
›   Error: Failed to upload app Customer Notes

 

Structure of my dist folder looks similar to yours, so it should not be the problem. 


Ahmed11
  • February 23, 2026

@daria12 ,

So far I can't think of anything else. One last attempt, can you share your manifest.json? You can redact author email and params values, but please indicate the value types