You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Forwarding URL page rule is created via the Dashboard and then retrieved via the API then the action id is forwarding_url. The TypeScript SDK requires this value to be forward_url. However, when `` is called with forward_url then the API returns an `HTTP 400` with a message `Unable to parse page rule`.
Change the SDK to use forwarding_url instead of forward_url.
despite the confusing name, forward_url is different to forwarding_url. you'll want to use the latter when interacting with the API to get the desired effect you want here.
it doesn't look like the types are being exported here, i'll make a note for future releases to get that addressed.
When a Forwarding URL page rule is created via the Dashboard and then retrieved via the API then the action id is
forwarding_url
. The TypeScript SDK requires this value to beforward_url
. However, when `` is called withforward_url
then the API returns an `HTTP 400` with a message `Unable to parse page rule`.Change the SDK to use
forwarding_url
instead offorward_url
.cloudflare-typescript/src/resources/pagerules/pagerules.ts
Line 156 in 08057f1
The text was updated successfully, but these errors were encountered: