Bugsy
Bugsy
DDokploy
Created by Bugsy on 3/8/2025 in #help
{"message":"Error creating the application","code":"BAD_REQUEST"}
async def Create(name, user: discord.User):
url = f"{os.getenv('DOCKER_URL')}/api/application.create"
headers = {
"x-api-key": f"{os.getenv('DOCKER_TOKEN')}",
"Content-Type": "application/json",
}

project_id = "AnhFqj439TjExphKiI7-x"

data = {
"name": str(name),
"appName": f"custom-{name}",
"description": f"{user.id} - {datetime.now().isoformat()}",
"projectId": project_id,
"serverId": "H1bFqj439TjExphKiI7-x",
}

async with aiohttp.ClientSession() as session:
async with session.post(url, headers=headers, json=data) as response:
if response.status == 200:
Response = await response.json()
return Response[0]["result"]["data"]["json"]["applicationId"]
else:
print(await response.text())
return None
async def Create(name, user: discord.User):
url = f"{os.getenv('DOCKER_URL')}/api/application.create"
headers = {
"x-api-key": f"{os.getenv('DOCKER_TOKEN')}",
"Content-Type": "application/json",
}

project_id = "AnhFqj439TjExphKiI7-x"

data = {
"name": str(name),
"appName": f"custom-{name}",
"description": f"{user.id} - {datetime.now().isoformat()}",
"projectId": project_id,
"serverId": "H1bFqj439TjExphKiI7-x",
}

async with aiohttp.ClientSession() as session:
async with session.post(url, headers=headers, json=data) as response:
if response.status == 200:
Response = await response.json()
return Response[0]["result"]["data"]["json"]["applicationId"]
else:
print(await response.text())
return None
1 replies
DDokploy
Created by Bugsy on 1/18/2025 in #help
Error creating manual backup.
1. The connection works fine on the S3 destinations bit.
1 replies
DDokploy
Created by Bugsy on 1/11/2025 in #help
How long does it take for a SSL to apply?
No description
5 replies
DDokploy
Created by Bugsy on 1/6/2025 in #help
How do i add IP whitelisting to MongoDB on dokploy?
^
1 replies
DDokploy
Created by Bugsy on 1/6/2025 in #help
[Solved] WG Easy Bad Gateway
No description
9 replies