Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Import Script - 403 error

    Posted 06-05-2025 18:30

    Austen | 2024-02-29 17:59:25 UTC | #1

    We are trying to implement some code to use the script import functionality described here.

    We use the OAuth2 code authorization flow in the application. When we call the import endpoint, we get a 403 error. From posts such as this, we assume this is telling us that the credential is valid but the user who logged in does not have permissions to perform this action.

    The user who is logging in has master admin rights over all divisions, and specifically has the scripter:: permission, as shown below.

    The return has these headers and body (which contains partial HTML which won't render here):

    [Server:"CloudFront", Date:"Thu, 29 Feb 2024 17:31:41 GMT", Content-Type:"text/html", Content-Length:"1053", Connection:"keep-alive", X-Cache:"Error from cloudfront", Via:"1.1 8102b796fd59e74f0d71efa931e72264.cloudfront.net (CloudFront)", X-Amz-Cf-Pop:"LHR5-P2", X-Amz-Cf-Id:"g3-AdMPy7hvT6ltMHqt19iKW5Ur3nw5jPNn-MS_FGGd0ZXav-i3SXg==", Vary:"Origin"]

    403 Forbidden: [<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR... (1053 bytes)]

    Any idea what the issue is?

    Thanks,

    Austen


    tim.smith | 2024-02-29 18:42:00 UTC | #2

    You're probably not sending your request to the right place, but it's hard to say what's wrong without knowing anything about the request you're making. Can you provide some details about it?


    system | 2024-03-30 18:42:07 UTC | #3

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 24949