Hello all,
I tried to add the script: Create RCA Confluence page that scriptrunner documentation has provided in a post function.
But unfortunately I'm getting these errors.
2018-04-10 09:44:56,041 ERROR [workflow.ScriptWorkflowFunction]: ************************************************************************************* 2018-04-10 09:44:56,043 ERROR [workflow.ScriptWorkflowFunction]: Script function failed on issue: SD-252, actionId: 91, file: <inline script> java.lang.Exception: {"statusCode":403,"data":{"authorized":false,"valid":true,"errors":[],"successful":false},"message":"You're not allowed to view that space, or it does not exist."} at Script1150$1.handle(Script1150.groovy:138) at com.atlassian.applinks.oauth.auth.OAuthResponseHandler.handle(OAuthResponseHandler.java:44) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$1.handle(JerseyRequest.java:115) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$1.handle(JerseyRequest.java:113) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:134) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:104) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:131) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.execute(JerseyRequest.java:113) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:47) at com.atlassian.applinks.oauth.auth.OAuthRequest.execute(OAuthRequest.java:71) at com.atlassian.sal.api.net.Request$execute$1.call(Unknown Source) at Script1150.run(Script1150.groovy:134)
Is there something that I have missed?
Thanks,
Khushbu
Hi,
As the error says:
{"statusCode":403,"data":{"authorized":false,"valid":true,"errors":[],"successful":false},"message":"You're not allowed to view that space, or it does not exist."}
It looks like the user that you are trying to use is not authorized to see the space that you want to use.
Maybe you should review the user and its permissions.
Regards,
Marcos
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.