REST application gets 403 Forbidden
I deployed an IRIS REST application using Installer class. I think I created the namespace FEEDER database with %DB_Default resource and I used the same resource in Web Application roles. I allowed Unauthenticated Authentication method. I used ^%ISCLOG and reviewed ^ISCLOG. I do not understand why I get 403 Forbidden response.
Comments
I verified that I have a license for my IRIS instance.
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.
.png)
I see there is a discrepancy between the resource and the Application role. I need to remove extra percent sign.
Now I get the expected response.