try: user_id = await get_user() data = { "post_id": params_kw.get('post_id', ''), "user_id": user_id, "user_name": params_kw.get('user_name', ''), "parent_id": params_kw.get('parent_id', ''), "reply_to_user_id": params_kw.get('reply_to_user_id', ''), "reply_to_user_name": params_kw.get('reply_to_user_name', ''), "content": params_kw.get('content', ''), "created_at": curDateString() } result = await create_showcase_comment(data) return json.dumps(result, ensure_ascii=False) except Exception as e: return json.dumps({"status": "error", "message": str(e)}, ensure_ascii=False)