Skip to content

APP_NOT_FOUND #339

@ijazdcm

Description

@ijazdcm

"Server responded with 404 - APP_NOT_FOUND - The referenced application does not exist

When using the production keys to generate the session unable to generate the session

It is returning "Server responded with 404 - APP_NOT_FOUND - The referenced application does not exist"

`
$YOTI_CLIENT_SDK_ID = 'OUR Production SDK ID';
$YOTI_PEM = 'Path of our PEM file';

$docScanClient = new DocScanClient($YOTI_CLIENT_SDK_ID, $YOTI_PEM);

    $sessionSpec = (new SessionSpecificationBuilder())
        ->withClientSessionTokenTtl(600)
        ->withResourcesTtl(90000)
        ->withUserTrackingId($user->id)
        ->withRequestedCheck(
            (new RequestedDocumentAuthenticityCheckBuilder())
                ->build()
        )
        ->withRequestedTask(
            (new RequestedTextExtractionTaskBuilder())
                ->withManualCheckAlways()
                ->build()
        )
        ->withSdkConfig(
            (new SdkConfigBuilder())
                ->withAllowsCameraAndUpload()
                ->withPrimaryColour('#2d9fff')
                ->withSecondaryColour('#FFFFFF')
                ->withFontColour('#FFFFFF')
                ->withPresetIssuingCountry('GBR')
                ->withSuccessUrl($successUrl)
                ->withErrorUrl($failureUrl)
                ->withPrivacyPolicyUrl('https://uat.dhigna.com/privacy-policy')
                ->withAllowHandoff(true)
                ->build()
        )
        ->withNotifications(
            (new NotificationConfigBuilder())
                ->withEndpoint('https://uat.dhigna.com/privacy-policy')
                ->withAuthToken('username:password')
                ->forResourceUpdate()
                ->forTaskCompletion()
                ->forCheckCompletion()
                ->forSessionCompletion()
                ->build()
        )
        ->build();

    $session = $docScanClient->createSession($sessionSpec);`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions