Invalid Datasource
Code
code:invalid_datasourcestatus:400url:https://developers.glean.com/errors/invalid-datasource
What It Means
The requested datasource scope is unknown, inaccessible, or not valid for the operation.
Common Causes
- The datasource type or instance name is misspelled.
- The caller does not have access to the datasource.
- The request combines datasource scopes that the endpoint cannot process together.
How To Resolve
Client Actions
- Verify datasource identifiers against the integration configuration.
- Remove inaccessible or unsupported datasource scopes.
Admin Actions
- Confirm the datasource is connected and visible to the integration.
Retry Guidance
Retry only after correcting the datasource scope or access.
Example Response
{
"type": "https://developers.glean.com/errors/invalid-datasource",
"title": "Invalid Datasource",
"status": 400,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "invalid_datasource",
"documentation_url": "https://developers.glean.com/errors/invalid-datasource",
"request_id": "req_7f8a9b0c1d2e"
}