This guide describes common errors and their solutions.
Find solutions to errors with the Galileo API below.
Missing required field: 'model_id'
Example (missing field):
Fix:
Authentication credentials were not provided.
Authorization
header is set.You do not have permission to access this resource.
Project ID 'xyz' not found.
POST method not supported for this endpoint.
GET
, POST
, PUT
, DELETE
).Field 'logits' must be an array of floats matching number of classes.
logits
, tokens
, or labels
match expected dimensions.Example (incorrect logits dimensions):
Fix:
This endpoint is not available.
ValueError: No API key found. Please set your GALILEO_API_KEY.
ValueError: Inputs and logits must have the same batch size.
log_model_outputs()
are mismatched.inputs
, logits
, and labels
is the same.Example (incorrect):
Fix:
UnsupportedModelTypeError: Model type 'regression' is not supported.
classification
, token_classification
, or text_generation
.ValueError: Token offsets do not match number of tokens.
DatasetNotFoundError: Dataset 'reviews_v2' not found.
galileo.get_datasets()
to verify available datasets.ExperimentError: Cannot create experiment. Missing metadata.
create_experiment()
.log_model_outputs()
before create_experiment()
.requests.exceptions.ConnectionError
You do not have permission to view this project.
Project does not exist or has been deleted.
Failed to load dataset. Please try again.
Unable to create experiment. Check that all required data is available.
log_model_outputs()
before retrying in the Console.Visualization failed to render.
File type not supported.
or Upload failed. Please retry.
Export failed. No records available for download.
If issues persist, contact support at support@galileo.ai with your request payload and full error message.
This guide describes common errors and their solutions.
Find solutions to errors with the Galileo API below.
Missing required field: 'model_id'
Example (missing field):
Fix:
Authentication credentials were not provided.
Authorization
header is set.You do not have permission to access this resource.
Project ID 'xyz' not found.
POST method not supported for this endpoint.
GET
, POST
, PUT
, DELETE
).Field 'logits' must be an array of floats matching number of classes.
logits
, tokens
, or labels
match expected dimensions.Example (incorrect logits dimensions):
Fix:
This endpoint is not available.
ValueError: No API key found. Please set your GALILEO_API_KEY.
ValueError: Inputs and logits must have the same batch size.
log_model_outputs()
are mismatched.inputs
, logits
, and labels
is the same.Example (incorrect):
Fix:
UnsupportedModelTypeError: Model type 'regression' is not supported.
classification
, token_classification
, or text_generation
.ValueError: Token offsets do not match number of tokens.
DatasetNotFoundError: Dataset 'reviews_v2' not found.
galileo.get_datasets()
to verify available datasets.ExperimentError: Cannot create experiment. Missing metadata.
create_experiment()
.log_model_outputs()
before create_experiment()
.requests.exceptions.ConnectionError
You do not have permission to view this project.
Project does not exist or has been deleted.
Failed to load dataset. Please try again.
Unable to create experiment. Check that all required data is available.
log_model_outputs()
before retrying in the Console.Visualization failed to render.
File type not supported.
or Upload failed. Please retry.
Export failed. No records available for download.
If issues persist, contact support at support@galileo.ai with your request payload and full error message.