Error when trying to authenticate with Github using pd dev

I’m on the ‘Get issues for a repo’ step of the Source Development Quickstart. When I add the github app prop and pd dev refreshes the demo source, I get a panic: could not set temporary token error message. I thought it might be a typo but it happens even when I copy and paste the sample code from the tutorial.

Waiting for file change (or ^C to quit)...
filechange    | C:\Users\celes\source.js
Configuring props...
Configuring prop github...
? github -- new --
panic: could not set temporary token

goroutine 40 [running]:
pd/core.connectOauthApp(0xc0003f78e0, 0xa, 0xc0003f78d8, 0x6, 0xc0003f78f0, 0x5, 0xc000125580, 0x3, 0x4, 0x0, ...)
        /home/runner/work/pipedreamin/pipedreamin/cli/core/app.go:135 +0x628
pd/core.ConnectApp(0xc0003f78e0, 0xa, 0xc0003f78d8, 0x6, 0xc0003f78f0, 0x5, 0xc000125580, 0x3, 0x4, 0x0, ...)
        /home/runner/work/pipedreamin/pipedreamin/cli/core/app.go:92 +0xed
pd/core.configureAppProp(0xc000295b38, 0x6, 0xc000295b70, 0x3, 0x0, 0xc000295b74, 0x6, 0x0, 0x0, 0x0, ...)
        /home/runner/work/pipedreamin/pipedreamin/cli/core/configure_props.go:154 +0x320
pd/core.configureProp(0xc000057d40, 0x217, 0xc000285140, 0x40, 0xc000392240, 0x1, 0x4, 0xc000295b50, 0x9, 0xc000295b60, ...)
        /home/runner/work/pipedreamin/pipedreamin/cli/core/configure_props.go:303 +0x2652
pd/core.ConfigureProps(0xc000057d40, 0x217, 0xc000285140, 0x40, 0xc000392240, 0x1, 0x4, 0xc000295b50, 0x9, 0xc000295b60, ...)
        /home/runner/work/pipedreamin/pipedreamin/cli/core/configure_props.go:500 +0x1bf
pd/cmd.glob..func6.3.1(0xc0000180d0, 0x9, 0xc00021a560, 0xc000214750, 0xc00021a580, 0xc0002160c0, 0xc0002160c8, 0x29, 0xd0)
        /home/runner/work/pipedreamin/pipedreamin/cli/cmd/dev.go:181 +0x923
pd/cmd.glob..func6.3()
        /home/runner/work/pipedreamin/pipedreamin/cli/cmd/dev.go:197 +0x79
pd/cmd.glob..func6.4(0xc0001902c0, 0xc000190280, 0xc0002160b8)
        /home/runner/work/pipedreamin/pipedreamin/cli/cmd/dev.go:217 +0x1fc
created by pd/cmd.glob..func6
        /home/runner/work/pipedreamin/pipedreamin/cli/cmd/dev.go:205 +0x53e```

@CelesteBancosHP if you run pd again, the CLI should update to version 0.1.52, and this bug should be fixed. Thanks for reporting.

1 Like

Thank you, it’s working! Though I had to manually download and replace pd.exe because it was wasn’t working to auto-update. (First I got an access denied error so I tried again running Command Prompt as administrator. But then I got a different error — I forgot to save the exact message but it was something about not working on Windows. That’s when I figured I just had to do it manually.)