fix(botManagement): detectionIds default json#3631
Conversation
|
Thanks for your contribution! |
|
This change seems correct, however, I think this value is only used if your compat date is set before Would it make more sense to update your compat date, or set the flag? |
|
@kentonv Thanks for getting back - The compatibility flag I have is: # wrangler.toml
compatibility_date = "2024-04-03"...and to clarify, I'd like to have And neither of the Bot management flags seem appropriate (if i'm reading the docs correctly) Does this make sense? Does it add some actionable direction to this PR? |
|
I see, I think this PR does not actually fix the underlying problem. In this PR you are modifying a placeholder value that is used for compatibility when people don't have bot management enabled at all (and have an old compat date). The problem seems to be that the real bot management service is actually generating |
|
@kentonv Insightful!
Would this still be the case given -> I never see occurrences of At any rate - I'll defer to you for closing this PR (it sounds like that is the direction). |
|
Maybe @irvinebroque can route this to the right people on bots management to fix things there? |
|
💯 I have just encountered what I assume is this issue when attempting to access |
What
This aims to resolve a runtime discrepancy in
botManagement.detectionIds.Why
We're observing two different runtime types
{}andnumber[], but expect onlynumber[]based on HTTP Requests Docs —array[int]— as well as the TypeScript typesCloudFlare dashboard logs
cURLrequest