alan
alan
CDCloudflare Developers
Created by alan on 6/12/2024 in #workers-help
KV Store max value exceeded for put
I have a durable object worker which uses the KV storage for my application. I noticed the value limit on the put. I was wondering if there are conventions around how I can avoid this limit on a put. Currently, I'm looking to do a try-catch and inspect the error message which I've observed to be something like this:
"[RangeError] Values cannot be larger than 131072 bytes. A value of size 262150 was provided."
"[RangeError] Values cannot be larger than 131072 bytes. A value of size 262150 was provided."
Would the try-catch + error message check be the conventional way to handle the put value limit?
15 replies
CDCloudflare Developers
Created by alan on 2/23/2024 in #general-help
logpush enabled but data not appearing in datadog
I have CF worker with logpush enabled along with the set up to datadog using Logpush - Account-scoped datasets I am not able to see my logs in datadog. When I tail the worker using npx wrangler tail, I do see logs in my terminal. What do I need to do to get this to work?
4 replies
CDCloudflare Developers
Created by alan on 1/24/2024 in #general-help
403 on enabling Logpush via the Worker website page
I'm currently trying to enable Logpush on one of my workers but I'm getting a red banner on the bottom of the site that says:
API Request Failed: PUT /api/v4/accounts/my_id/workers/services/buildbreaker-metadata-server/environments/production?include_subdomain_availability=true (403)
API Request Failed: PUT /api/v4/accounts/my_id/workers/services/buildbreaker-metadata-server/environments/production?include_subdomain_availability=true (403)
I am currently not using a wrangler.toml file for my project. I also did upgrade to a Pro plan last week. Thanks for your help!
8 replies