Cannot Create Piston on Fresh Install


#1

When I enter an Author and Piston name, I click create. Nothing happens and live logging shows the error " org.springframework.security.access.AccessDeniedException: Permission not allowed for SmartAppVersion: af052287-275f-4ef1-ac88-e38837f51e35 @line 1032 (api_intf_dashboard_piston_create)"

It should just go straight to the piston builder.

The error “org.springframework.security.access.AccessDeniedException: Permission not allowed for SmartAppVersion: af052287-275f-4ef1-ac88-e38837f51e35 @line 1032 (api_intf_dashboard_piston_create)” is thrown in live logging and nothing happens. OAuth is enabled for the top level WebCoRE smartapp only.

Since the piston can’t be created to begin with, I can’t screenshot it.


#2

Try going to webCoRE in the ST app and choose the ‘rebuild data cache’ option.


#3

Already tried. No such luck. Also tried reinstalling the apps, both with and without GitHub integration.


#4

Can you take a screenshot of the window when you are trying to create a piston?


#5

It just stays here and does nothing when I click “Create”


#6

Can you share a screenshot of the 4 smart apps you installed in IDE? Just want to make sure all are there and published.


#7


#8

perhaps a hard refresh (hold Ctrl whilst clicking the browser refresh button)


#9

Unfortunately not. This problem persists across multiple browsers, computers, and devices, even after doing a hard page refresh.


#10

Are you in US or EU?


#11

I am in the US.


#12

Mobile or desktop? Which browser?


#13

Only one ST hub?


#14

I have tried Chrome and Firefox on Linux Mint, Chrome and Firefox on Windows 10, and Chrome on Android. All to no avail. However, I have another hub on a different account and I can create pistons for that hub without problem on these same machines.


#15

It is a second hub. I set it up for my mother-in-law, created her an account, and gave my ST account permission to access her hub.


#16

I have no experience with multi-hub setups so knowing that maybe one of the other guys can assist you better.


#18

No worries - you put me on the right track… I was logging in with her account to add the apps, and then I selected the app from MY ST mobile app, which called on MY WC instance, which caused OAuth to fail. Once I added WC from HER ST mobile app, it worked. Thanks!

This is now resolved.