Skip to content

Kv-store getPublicUrl, with { forceCloud: true } returns local path instead of public url #459

@JJetmar

Description

@JJetmar

Issue description

Run the code example see the output - you will get something like: /home/user/Projects/actor/storage/key_value_stores/default/KEY.json

I would expect public url leading to https://api.apify.com/... instead

Code sample

const defaultKvStore = await Actor.openKeyValueStore(..., { forceCloud: true }); console.log(defaultKvStore.getPublicUrl('KEY'));

Package version

3.4.4

Node.js version

22

Operating system

Linux

Actor or run link

No response

I have tested this on the next release

3.4.5-beta.38

Other context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions