Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Error while trying to create script #14

Open
wkoziej opened this issue Aug 16, 2018 · 2 comments
Open

Error while trying to create script #14

wkoziej opened this issue Aug 16, 2018 · 2 comments

Comments

@wkoziej
Copy link

wkoziej commented Aug 16, 2018

Hi,

I'm trying to create script on my machine. According to https://paperspace.github.io/paperspace-node/scripts.html#.create I've created sample code

paperspace.scripts.create({
    scriptName: 'Run docker at start',
    scriptFile: 'startup.sh', 
    scriptDescription: 'A startup script', // optional
    isEnabled: true, // optional
    runOnce: false, // optional
    machineId: machineId, // optional
}, function(err, res) {
    console.log(res);
});

and what I'm getting is

{ error:
   { name: 'Error',
     status: 404,
     message: 'script not uploded - temporary' } }

Could you explain this, please?
Of course other requests are working ( e.g. I can start and stop machines using paperspace-node)

@TimDurward
Copy link

TimDurward commented Dec 8, 2018

@wkoziej I'm also running into this issue with a go paperspace client.
https://github.com/TimDurward/go-paperspace/blob/master/scripts.go#L26-L40

I don't think it's an issue with the node client, but rather Paperspace's internal service - But just an assumption :)

Maybe a member like @dte or @sanfilip can chime in on the reason.

@TimDurward
Copy link

Support got back to me about this ticket - They are aware and have taken action. @wkoziej I'd follow Paperspace's Release Notes, it's been noted their next release should have it fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants