This page covers the common errors you might encounter when sending requests to the APIs.Documentation Index
Fetch the complete documentation index at: https://docs.go.gbgplc.com/llms.txt
Use this file to discover all available pages before exploring further.
Empty collection of tasks when sending a request to retrieve tasks
This is usually caused by the selected modules in the journey builder not having the needed credentials. In this case, you encounter a201 status code that returns an empty collection of tasks. This happens even when you have modules in the journey builder. The response looks like this:
POST request to the /journey/state/fetch endpoint. You will receive a response showing the GET_CREDENTIALS_ERRORcode.
To resolve this, contact your GBG GO account manager to update the credentials for your modules.
When you call the
/journey/state/fetch endpoint and receive a “COMPLETED” status (rather than a credentials error), this means that the journey has been successfully finished. All tasks associated with this journey instance have been completed, and no further action is required.Immediate logout after authentication
If you are a new user who attempts to log in to GBG GO with valid credentials but is immediately logged out, this might be because your organization hasn’t been created in the system yet. The account exists, but without an associated organization the system cannot direct you to your dashboard. As a result, the system automatically logs you out. To resolve this, contact your GBG GO account manager for help troubleshooting the issue.Facematch task returns an error in adaptive journeys
In adaptive mode, the Facematch Verification module requires both face images to be submitted in the API payload. Submitting only one image causes the task to fail.Symptom
When you run a journey in adaptive mode and reach the facematch verification task, the submit task data request returns a system error. The same journey completes successfully when executed in prefill mode.Cause
The Facematch Verification module compares two face images against each other to produce a match decision. The module needs both images available before it can run:face1Imageis the selfie image captured during the journey.face2Imageis the anchor (reference) image that the selfie is compared against.
context.subject when the journey starts, so the platform has everything it needs for facematch verification. In adaptive mode, task data is collected progressively as the journey executes. You’re responsible for submitting both images together when the facematch verification task is presented.
If only one of face1Image or face2Image is submitted, then the Facematch Verification module cannot perform the comparison and the task returns an error.
Resolution
When the Facematch Verification task is reached, submitface1Image (selfie) and face2Image (anchor) together in the API payload:
JSON