-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
"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
Labels
No labels