Skip to content

POST API results in 500 error #3261

@AllanJard

Description

@AllanJard

Description of Bug

Using the POST API generates a 500 error.

Steps to Reproduce

  1. Load https://live.datatables.net/jozozota/1/edit (I tried to send it as an HTML file, but Github doesn't allow HTML attachments)
  2. In the preview tab scroll down and click "Submit Query"
  3. Stackblitz loads and shows a 500 error

Expected Behavior

There is no indication of what is causing the 500 error. As far as I can tell I've followed the POST API correctly. If I reduce the number of files, to just one of them it appears to load correctly, but all of them are needed to successfully create the project. I haven't been able to identify one specific file / field which is causing the problem.

Screenshots/Screencast

Image

Additional Context/Questions

The intention here is that on the DataTables download builder I'll show a link that lets the user open a Stackblitz project with the selected packages ready to be used. Similar to the vite.new site that you run, but customised for the build options.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions