skip to main content
Querying data stores with SQL : Error messages : Management API error messages : Servlet error messages : Data Sources API error messages
  

Try Now
Data Sources API error messages
This section describes error messages you may receive from the Data Sources API. Each error message is followed by a possible cause and recommended actions, if applicable.
Table 210. Error messages for the Data Sources API
Error code
Description
222207000
Problem updating your DataSource at this time. Please try again at another time.
222207001
Problem retrieving your DataSource at this time. Please try again at another time.
222207002
Invalid DataSource Option: {0}.
222207003
There is a problem connecting to the DataSource. {0}
222207004
There is no DataSource with that id: {0}.
Cause: The DataSource ID is incorrect. The data source ID may have been entered incorrectly, or the data source ID might have been invalidated by the administrator.
Action: Correct the DataSource ID.
222207005
Expected values for connectType : 'Cloud' / 'Hybrid'. Your value was {0}. Please try again with proper value.
Cause: The connectionType parameter specified a value other than Cloud or Hybrid.
Action: Specify a valid value.
222207006
Problem deleting your DataSource at this time. Please try again at another time.
Cause: The DataSource couldn't be deleted at this time.
Action: Try again later.
222207007
Invalid JSON Input: {0}
Cause: The JSON input was not valid.
Action: Correct the JSON statement and retry the query.
222207008
connectionType is not allowed to be changed . It must remain : {0}.
222207009
Expected values for map:'refresh'/'recreate'/'none'. Your value was {0}. Please try again with proper value.
Cause: The map parameter specified an invalid value.
Action: Change the value for the map parameter. The valid values are refresh, recreate, and none.
222207010
Missing 'connectionType' in payload.
Cause: The connectionType parameter is missing, or no value was defined.
Action: Check the payload. Add the connectionType and a valid value.
222207011
Invalid DataSource ID: {0}.
Cause: The specified DataSource ID is invalid.
Action: Check the DataSource ID.
222207012
You are not authorized to create a DataSource with this DataStore id: {0}. Please contact Technical Support if you would like to upgrade your account.
Cause: The DataStore you specified is not included in your subscription plan, or you are not authorized to use the DataStore. For example, the Hybrid Data Pipeline administrator might have limited the number of users who can access Salesforce.
Action: Contact your Hybrid Data Pipeline administrator or Technical Support.
222207013
Problem validating your DataSource at this time. Please try again at another time.
Cause: There was a problem validating your DataSource.
Action: Try validating your DataSource later.
222207014
You already have a DataSource with the name {0}. Please choose another name.
Cause: A data source with that name already exists.
Action: Choose a different name for the data source.
222207015
Invalid DataStore ID: {0}.
Cause: The DataStoreID specified is not valid.
Action: Check the DataStoreID specified in in the payload. You can get the DataSourceID from the DataStores resource.
222207016
Missing 'name' in payload.
Cause: The name parameter is not in the payload.
Action: The name parameter is required. The name must contain only alphabetic characters and the underscore, and must begin with a letter.
222207017
Problem refreshing your DataSource at this time. Please try again at another time.
Cause: The DataSource could not be refreshed.
Action: Try refreshing the DataSource later.
222207018
{0} is an unrecognized argument for /map. Expected 'map' and/or 'model' only.
Cause: An unrecognized argument was used for map.
Action: The only valid arguments are map and model.
222207019
Missing 'id' in payload.
Cause: The id property is the data source id used to reference the data source in the Hybrid Data Pipeline Management API URLs.
Action: Add the data source id for the data source.
222207020
Missing 'password' in payload.
Cause: The password property is missing.
Action: Check the payload and add a valid password.
222207021
DataStore is not allowed to be changed. It must remain: {0}.
Cause:The DataStore value cannot be changed.
Action: Check the JSON string.
222207022
There was a problem deleting the DataSource. Multiple rows were somehow deleted. {0}
222207023
Problem connecting to your DataSource at this time. Please try again at another time.
Cause: There was a problem connecting to the data source.
Action: Try connecting later.
222207024
Problem retrieving your DataSources at this time. Please try again at another time.
Cause: There was a problem retrieving your data sources.
Action: Try the operation later.
222207025
Problem creating your DataSource at this time. Please try again at another time.
Cause: There was a problem creating your data sources.
Action: Try the operation later.
222207026
Missing 'dataStore' in payload.
Cause: The payload did not specify a valid dataStore element.
Action: Add the dataStore to the payload.
222207027
There is a problem getting the DataStore(s) at this time. Please try again at another time.
Cause: There was a problem getting your data sources.
Action: Try the operation later.
222207028
Missing 'userId' in payload.
Cause: The user parameter was not in the payload, or no value was defined.
Action: Make sure the payload contains the user parameter with a valid user name.
222207029
Expected values for model: 'refresh' / 'none'. Your value was {0}. Please try again with proper value.
Cause: The model parameter specified an invalid parameter.
Action: Check the model parameter and change the value. The valid values are refresh and none.
222207030
Data Source 'id' in the JSON Request must match the resource. ie. /datasources/<id>. DataSource 'id' is an optional field.
Cause: The data source ID is generated by Hybrid Data Pipeline and cannot be changed.
Action: Including the data source ID in the JSON request is optional. When the ID is included in the JSON request, make sure it matches the resource.
222207031
Invalid userName {0}.
Cause: The specified user name is not valid.
Action: Enter a valid user name.
222207032
Must supply 'map' and/or 'model' in your payload.
Cause: Either map or model must be specified in the payload.
Action: Add map or model to the payload.
222207033
Problem retrieving the members of your DataSource Group. Please try again at another time.
Action: Try again later.
222207034
Problem updating the members of your DataSource Group. Please try again at another time.
Action: Try again later.
222207035
Problem creating one or more new member DataSources for your DataSource Group. Please try again at another time.
Action: Try again later.
222207036
Problem removing one or more member DataSource from your DataSource Group. Please try again at another time.
Cause: A problem occurred when attempting to remove one or more member data sources from your data source group.
Action: Try removing the member data sources from the data source group later.
222207037
Only DataSource Groups can have member DataSources assigned.
Cause: An attempt was made to add a member data source to a data source that was not defined as a data source group.
Action: Add the member DataSource to a data source group.
222207038
DataSource {0} must be a DataSource Group when used in this way.
Cause: An attempt was made to use a simple or member data source as a data source group.
Action: You can't change the data source into being a data source group. Specify a data source that is a data source group for this action.
222207039
DataSource {0} cannot be a DataSource Group when used in this way.
Cause: An attempt was made to use a data source group when a simple or member DataSource was needed.
Action: Use a simple data source or a member data source.
222207040
An existing DataSource {0} was seen while adding new DataSource members to a DataSource Group.
222207041
The DataSource cannot be removed because it is used in one or more DataSource Groups: {0}.
Cause: An attempt was made to delete a data source that is a member of one or more data source group.
Action: Remove the data source from each data source group that it is a member of.
222207042
When updating a DataSource Group, a "members" section must be supplied.
Cause: An attempt was made to update a data source group, but the payload did not contain a members parameter.
Action: Add a members parameter to the options object.
222207043
You are not authorized to update a {0} DataSource (DataStore id: {1}). Please contact Customer Support if you would like to upgrade your account.
Cause: You are not authorized to update the specified data source for the data source type.
Action: Check with your Hybrid Data Pipeline administrator to see if the authorization can be changed. For example, the subscription might be configured for 5 users to update Salesforce.
222207044
A DataSource Group connectionType must be 'Group'. Your value was {0}. Please try again with the proper value.
Cause: The value specified for connectionType was invalid for a data source group.
Action: Change the value of connectionType to Group.
222207045
MaximumEntityNameLength must be an integer between 10 and 128 inclusive, but your value was {0}. Please try again with the proper value.
Cause: The value specified for MaximumEntityNameLength was not an integer between 10 and 128 inclusive.
Action: Specify an integer between 10 and 128 inclusive.
222207046
MaximumEntityNameLength is outside the valid range of 10 to 128 inclusive. but your value was {0}. Please try again with the proper value.
Cause: The value specified for MaximumEntityNameLength was not in the valid range.
Action: Specify an integer between 10 and 128, inclusive.
222207047
The entity prefix for member datasources must be specified. For source {0}, it was not. Please try again with the proper value.
Cause: Each member data source must specify a unique entity prefix.
Action: Specify a unique entity prefix that is less than half the length of the value specified for MaximumEntityNameLength.
222207048
The entity prefix for source {0} must be less than half the maximum entity name length. Please try again with the proper value.
Cause: The entity prefix for the specified data source must specify a unique entity prefix that is less than half the maximum entity name length.
Action: Specify a unique entity prefix that is less than half the length of the value specified for MaximumEntityNameLength.
222207049
All of the entity prefixes within a DataSource Group must be unique. DataSource {0} has a duplicate. Please try again with the proper value.
Cause: Each member data source must specify a unique entity prefix.
Action: Specify a unique entity prefix that is less than half the length of the value specified for MaximumEntityNameLength.
222207050
Entity prefixes cannot contain underscores, but DataSource {0} has one. Please try again with the proper value.
Cause: The entity prefix can contain only alphanumeric characters and can't contain an underscore.
Action: Modify the entity prefix.
222207051
The entity prefix name for member DataSource {0} does not follow OData guidelines. Please try again with the proper value.
Cause: The entity prefix can contain only alphanumeric characters and must begin with an alphabetic character.
Action: Correct the entity prefix.
222207052
Problem getting the status of your OData Model Creation. Please try again at another time.
Cause: A problem occurred when getting the status of the OData Model Creation.
Action: Try again later.
222207053
Problem starting creation of your OData Model. Please try again at another time.
Cause: A problem occurred when starting to create your OData model.
Action: Try again later
222207054
Cannot start the OData Model Creation because it is currently running. Please see the documentation if you wish to restart the creation.
Cause: The OData Model creation operation is already running.
Action: Try again later.
222207055
The status was changed during the process of the request. Please verify and send request again if needed.
222207056
You cannot create an OData Model for a DataSource Group.
Cause: An attempt was made to create an OData model for a Data Source Group. You can only create an OData model for a simple data source.
Action: Check the members of the data source group and make sure that each has an OData model.
222207057
You cannot refresh/recreate the map of a DataSource Group.
Cause: An attempt was made to refresh or create the map for a Data Source Group. You can only refresh or create a map for a simple data source.
Action: Refresh or create the map for the member data sources in the Data Source Group.
222207058
DataSource {0} must have an OData map.
Cause: A schema map has not been defined for the data source.
Action: The data source must be enabled for OData by defining a schema map.
222207059
Test connect cannot be performed on a DataSource Group. To test connectivity, the member data sources of the group should be tested.
222207060
There are duplicate members in the payload. Please remove the duplicates and try again.
Cause: The payload contains duplicate members.
Action: Remove the duplicate members and try again
222207061
Member {0} already exists in the DataSource Group that matches one in your payload; please adjust your payload and try again.
Cause:The specified member already exists in the DataSource group specified in the payload.
Action: Check the payload, and remove or replace the duplicate member.
222207062
The schema {0} does not exist.
Cause: The specified schema does not exist.
Action: Check the schema name. If necessary, use the Get Schemas API for a list of valid schemas.
222207063
The table {0} does not exist under schema {1}.
Cause:The specified table does not exist under the specified schema.
Action: Check the table name and schema name.
222207064
Problem retrieving the schemas at this time. Please try again at another time.
222207065
Problem retrieving the tables at this time. Please try again at another time.
222207066
Problem retrieving the columns at this time. Please try again at another time.
222207067
Problem retrieving the primary keys at this time. Please try again at another time.
222207068
Problem retrieving the table details at this time. Please try again at another time.
222207069
Invalid OAuthProfileId: {0}.
Cause: The specified OAuthProfileID is not valid.
Action: Correct the OAuthProfileID.
222207070
The OAuthProfile data store ({0}) does not match the DataSource data store({1})
Cause: The specified OAuthProfile data source type does not match the data source type specified in the DataSource.
Action:Check the OAuthProfile data source type and the DataSource data source type.

HTTP Response Codes Returned by the Hybrid Data Pipeline Management Data Sources API

Hybrid Data Pipeline Management Data Sources API returns standard HTTP response codes as described in the following table, under the conditions listed in the description. The descriptions differ somewhat from the general description found earlier in this document.
Table 211. HTTP Error Messages for the Data Sources API
Error Code
Description
200
OK
The request was successfully completed. If this request created a new resource that is addressable with a URI, and a response body is returned containing a representation of the new resource, a 200 status will be returned with a location header containing the canonical URI for the newly created resource.
201
Created
A request that created a new resource was completed and no response body containing a representation of the new resource is being returned. A location header containing the canonical URI for the newly created resource will be returned.
400
Bad Request
The JSON request is invalid.
401
Not Authorized
The user is not authorized. An invalid user name and/or password was used.
404
Not Found
The <DataSource> was not found, where <resource_type> is DataSource.
500
Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
501
Not Implemented
The server currently does not support the functionality required to fulfill the request.