Skip to main content
Inspiring
Apr 10, 2025 9:05 AM UTC
Question

403 Access Denied Error

Hello,

I'm using the code below, enter ../ it's redirected to "Access Denied",  any idea why? I don't see any error logged in the Tomcat log.

a!localVariables(
  local!searchKeyword,
  a!columnsLayout(
    columns: {
      a!columnLayout(
        contents: {
          a!textField(
            label: "Search By Keyword",
            value: local!searchKeyword,
            saveInto: {
              local!searchKeyword,
              a!save(
                local!searchKeyword,
                trim(local!searchKeyword)
              )
            },
            refreshAfter: "KEYPRESS"
          )
        }
      )
    }
  )
)

    13 replies

    stefanhelzle0001
    Brainy
    Apr 10, 2025 9:24 AM UTC

    Tried to replicate this. I do not see the behaviour you describe.

    When does this redirect happen?

    Inspiring
    Apr 10, 2025 12:19 PM UTC

    1. Redirected to "Access Denied" upon entering ../ ( with refreshAfter "KEYPRESS")

    2. Redirected to "Access Denied" upon entering ../ and clicking enter (without refreshAfter property)

    stefanhelzle0001
    Brainy
    Apr 10, 2025 12:24 PM UTC

    I do not know of any Appian function that could do this. Can the be a browser issue?

    tejak2639
    Inspiring
    Apr 14, 2025 6:24 AM UTC

    Hi [mention:6e0fd16d2aba4fdfbd076dfe63e1d8df:e9ed411860ed4f2ba0265705b8793d05] 
    Are you using only this component on site or using this, are you filtering any data in record and displaying on site.

    Inspiring
    Apr 14, 2025 7:00 AM UTC

    Filtering record data using the value entered in search field, but observed the same error with the textbox too.

    tejak2639
    Inspiring
    Apr 15, 2025 6:11 AM UTC

    If possible can you send the remaining code like how you are filtering, using query and filter or read only grid record filter. Don't know exactly but I'm thinking there might be a security issue throwing that error when you are attempting search on records.

    Inspiring
    Apr 16, 2025 8:53 AM UTC

    Looks like this issue is happening in 23.4 and resolved in higher versions.

    Thank you everyone for the responses and suggestions.