Question
· Apr 7

configuration ok?

This question originally appeared in the comments of the post: REST application gets 403 Forbidden
 

Here is the Namespace configuration in Installer class:

Class App.Installer
{

XData setup
{
<Manifest>
  <Default Name="SourceDir" Value="/opt/feeder/src"/>
  <Default Name="Namespace" Value="FEEDER"/>
  <Default Name="Resource" Value="%DB_DEFAULT"/>

  <Namespace Name="${Namespace}" Code="${Namespace}" Data="${Namespace}" Create="yes" Ensemble="1">
    <Configuration>
      <Database Name="${Namespace}" Dir="/voldata/irisdb/feeder" Create="yes" Resource="${Resource}"/>
    </Configuration>

I see the resource is %DB_DEFAUILT with all UPPERCASE.

Discussion (2)0
Log in or sign up to continue

The 403 Forbidden error when accessing your REST application is likely due to insufficient privileges for the "UnknownUser" account, which is used when the application is set to "Unauthenticated" access. To resolve this, ensure that the "UnknownUser" account has the necessary roles and privileges to run your code. You can do this by adding the appropriate roles to the "UnknownUser" account in the Management Portal under [Home] > [Security Management] > [Users] [1]. Additionally, make sure that the web application is correctly defined with the appropriate dispatch class and security settings [2].