0hmx - @Seve this is a back-end error https://g...

@Seve this is a back-end error https://github.com/tscircuit/tscircuit.com/issues/1717 is the back-end oss, could not see it in the tscircuit.com repository!
GitHub
Saving Broken Bug (can't save a package) · Issue #1717 · tscircui...
CleanShot.2025-09-26.at.22.35.36.mp4 /bounty $50
5 Replies
Rishabh
Rishabh2d ago
No the backend is not open source. Are you sure it's a backend bug? Cause last time I was glancing at the network requests I could see the latest file, it was just the react query cache which was issue iirc
0hmx
0hmxOP2d ago
OK i will look at it a bit more, i was just querying if the backed is oss or not This is a internal error
{"ok":false,"error":{"message":"new row for relation \"package\" violates check constraint \"package_name_check\"","error_code":"internal_server_error"}}
{"ok":false,"error":{"message":"new row for relation \"package\" violates check constraint \"package_name_check\"","error_code":"internal_server_error"}}
the data being send
{"name":"maos","is_private":false,"org_id":"94044d23-fb18-49b3-bcb5-8a702defe7d6"}
{"name":"maos","is_private":false,"org_id":"94044d23-fb18-49b3-bcb5-8a702defe7d6"}
Seve
Seve2d ago
How so you create this? The issue there is your name isnt in the package author Is this from cli? Your package has to be @tsci/ohmx.moas We shpuld have a much better error
0hmx
0hmxOP2d ago
this is from network tab
{"ok":false,"error":{"message":"Package name can only contain letters, numbers, hyphens, underscores, and forward slashes for \"name\". Full Zod error: [\n {\n \"validation\": \"regex\",\n \"code\": \"invalid_string\",\n \"message\": \"Package name can only contain letters, numbers, hyphens, underscores, and forward slashes\",\n \"path\": [\n \"name\"\n ]\n }\n]","error_code":"internal_server_error"}}
{"ok":false,"error":{"message":"Package name can only contain letters, numbers, hyphens, underscores, and forward slashes for \"name\". Full Zod error: [\n {\n \"validation\": \"regex\",\n \"code\": \"invalid_string\",\n \"message\": \"Package name can only contain letters, numbers, hyphens, underscores, and forward slashes\",\n \"path\": [\n \"name\"\n ]\n }\n]","error_code":"internal_server_error"}}
Seve
Seve2d ago
what is the name from the payload? "ohmx/moan" or "@tsci/ohmx.moan" should be accepted

Did you find this page helpful?