Gozargah / Marzban-examples

Some examples to setup Marzban
93 stars 45 forks source link

Add User Api #3

Closed tbehzad76 closed 1 year ago

tbehzad76 commented 1 year ago

I can't add user form api my error is "Internal Server Error" https://s2.uupload.ir/files/capture_0dxv.png

SaintShit commented 1 year ago

@tbehzad76 Hi, can you post your logs please? run docker compose logs if you're using docker

as I see you're doing it wrong. set DOCS=true in env file and go to /docs to see the swagger documentation of API. however it shouldn't response 500 error, looks like somethings wrong with server also.