Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Getting isssues on adding data to KV store - Hono
H
Hono
•
12mo ago
•
10 replies
react_webapps🚀
Getting isssues on adding data to KV store
Logs
[
w
r
a
n
g
l
e
r
:inf
] POST
/api
/v1
/renewal
-reminders 200 OK
(33ms
)
Code
:
const app
= new Hono
(
)
;
const openapi
= fromHono
(app
,
{
docs
_url
:
"
/swagger
.html
"
,
}
)
;
openapi
.post
(
'
/api
/v1
/renewal
-reminders
'
, CreateRenewalReminder
)
;
export class CreateRenewalReminder extends OpenAPIRoute
{
async handle
(ctx
)
{
const key
= uniqueGenrationLoginc
;
const data
= await this
.getValidatedData
<typeof this
.schema
>
(
)
;
const taskToCreate
= data
.body
;
await ctx
.env
.RENEWAL
_REMINDER
_INFO
_BRAND
.put
(
key
,
JSON
.stringify
(taskToCreate
)
)
return
{
success
: true
,
}
;
}
}
export default app
https://github.com/orgs/honojs/discussions/3978
GitHub
Unable to put key value in KV store using ctx and also not getting ...
Not getting any error when i call the API it gives me 200 but key value is not preset in Store if i check from dashboard logs
[
w
r
a
n
g
l
e
r
:inf
] POST
/api
/v1
/renewal
-reminders 200 OK
(33ms
) const app
=
.
.
.
Hono
Join
This is the official Hono discord server for the community
4,418
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Is it safe to store user data with set/get?
H
Hono / help
2y ago
Issues with Cloudflare KV
H
Hono / help
2y ago
Adding swagger to hono API
H
Hono / help
2y ago
Loading routes from Cloudflare KV?
H
Hono / help
13mo ago