survey-response (POST)

Listed are the error codes and error code messages associated with the Salesforce Feedback Management (SFM) unAuth Response APIs for the survey-response (POST) resource.

Error Codes and Responses for the survey-response POST Resource 

This table lists the HTTP response code descriptions that are unique to this resource.

HTTP Response CodeError CodeDescription
400INVALID_API_INPUT{recipientID} is invalid. Specify a recipientId of the type lead or contact, and try again.
400API_CURRENTLY_DISABLEDThe UnauthenticatedSurveyParticipation API isn’t enabled in your Salesforce org. Ask your Salesforce admin for help.
400API_CURRENTLY_DISABLEDYour Salesforce org doesn’t have a default Experience Cloud site. Select the default Experience Cloud site from the Survey Settings page in Salesforce, or contact your Salesforce admin.
400MISSING_RECORDSpecify an existing survey, or ensure that the survey is shared with a guest user, and try again.
400INVALID_INPUT_COMBINATIONSpecify a basic survey, and try again.
400INVALID_API_INPUTEither activate the specified survey, or specify an active survey, and try again.
400INVALID_API_INPUTThe specified merge field access level isn’t supported. Specify a different merge field access level, and try again.
400INVALID_API_INPUTWe couldn’t process the request. Specify valid inputs, and try again.
400MISSING_ARGUMENTThe collectAnonymousResponse property is a required property. Specify the collectAnonymousResponse property, and try again.
400MISSING_RECORDThe recipient ID provided in the survey doesn’t exist in your org. {recipientId} or the related record isn’t shared with you.
401UNAUTHORIZEDThe access token has expired or isn’t authorized to access the SFM unAuth Response APIs.
500UNKOWN_EXCEPTIONWe couldn’t process the request because of an internal server error. Contact your Salesforce admin.