Writes warnings and errors reference

Learn more about the possible warnings and errors returned by Merge's API's POST endpoints and how to resolve them

Warning and error codes

This is a reference list of all possible errors and warnings returned by Merge’s API’s POST endpoints.

For more information on errors and warnings related to POST requests to Merge, check out the guide on Troubleshooting Writes.

IssueTypeDescriptionTroubleshooting Tips
CORRUPTED_FILEErrorThe file was corrupted, thus Merge was unable to get the contents.Check that the file passed in the request is readable.
CREDENTIAL_REFRESH_FAILEDErrorCredential refresh for linked account failed when attempting to make API request.Navigate to https://app.merge.dev/logs view the logs for the linked account to get more information.
DISABLED_MODEL_WRITEErrorA write request to a disabled model was attempted.Navigate to https://app.merge.dev/organization/common-models to re-enable the model.
DUPLICATE_MODEL_EXISTSErrorA model with duplicate unique identifiers already exists.If testing, ensure that none test data is used in subsequent requests.
ERRORErrorA generic error type used for errors not enumerated in this list.Use Debug Mode to get the relevant logs for troubleshooting.
INCORRECT_FIELD_TYPEErrorThe field’s value was in the incorrect format and Merge was unable to convert it, resulting in the Common Model not being created.Ensure that the value being passed into the specified source field is in the correct data type.
INCORRECT_FIELD_TYPEWarningThe field’s value was in the incorrect format, but Merge was able to convert it and create the Common Model instance.Ensure that the value being passed into the specified source field is in the correct data type and no data is being accidentally altered when Merge casts the value.
INVALID_FIELD_CHOICEErrorThe field value does not match an available enum choice for the field.Consult the available field value choices for the relevant field in the API documentation.
INVALID_FILE_URLErrorThe file associated with the URL passed in failed to download.Make sure that the file URL of url passed in is accurate.
INVALID_REQUEST_CONTENT_TYPEErrorThe request body does not match the expected request shape for the endpoint.Ensure that the value for content_type in your request headers is application/json.
INVALID_REQUEST_SHAPEErrorThe request body does not match the expected request shape for the endpoint.Ensure that the request body is in the correct format.
MISSING_PERMISSIONErrorThe user associated with the linked account does not have permission to perform this operation.Ensure the account token is being passed into the request. Check https://app.merge.dev/logs for more information.
MISSING_REQUIRED_FIELDSErrorThis request is missing fields required to add / update the Common Model in the given third-party platform.Ensure the request body includes all required fields for creating the Common Model instance.
MODEL_NOT_FOUNDErrorThe ID of the field does not refer to an existing model.Ensure that the UUID of the entry source matches a Merge common model ID.
MODEL_WITH_DUPLICATE_UNIQUE_FIELD_EXISTSErrorA model with a field which must be unique already exists.If testing, ensure that none test data is used in subsequent requests.
PROVIDER_ERRORErrorAn error from the third party platform’s API prevented the request.Use Debug Mode to get the relevant logs for troubleshooting.
RATE_LIMIT_EXCEEDEDErrorThe third-party platform ran into rate limiting issues.Reach out to Merge for support at help@merge.dev.
RELINK_NEEDEDErrorThis linked account needs to be relinked.Navigate to https://app.merge.dev/logs view the logs for the linked account to get more information.
UNSUPPORTED_OPERATIONErrorMerge does not yet support this operation for the specified linked account.Ensure the request you’re making is compatible with the specified linked account.
UNSUPPORTED_TEST_REQUESTErrorThe request you are making is only compatible with Production account.Test account tokens may only be used to retrieve from the endpoints. If you need assistance with your setup, please reach out to help@merge.dev.