API: /project.create — 400 error

Just want to ask if the API is working on your end? I tried running the /project.all and it's working fine. But when I tried creating a new project using the API it always returns the 400 error. Both "name" and "description" are provided as body(json). Tried both on the live swagger and in Postman.
No description
No description
2 Replies
Siumauricio
Siumauricio11mo ago
Hey can you try this? You need to wrap the object in to another object with json key { “json”:{ your data } } Something with the generation of the openapi is not generating that so I need to take a look You can see more details here https://discord.com/channels/1234073262418563112/1234075018850205856/1255429705352609883 in the next version this will be fixed and you will not need to pass the json value, so you can use the swagger api directly without modifications
Melodic Crypter
Melodic CrypterOP11mo ago
@Siumauricio thanks! It's working now using Postman. re: I see, no worries. thanks!

Did you find this page helpful?