Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error Bad request

(0) ShareShare
ReportReport
Posted on by

I have solution Voice of the Customer. I am trying to use Surveys but I getting two errors that dot not allow my to use this it.

If I do not anonymous survey and publish it, then I open a link of survey and I get an error "Bad request"

And when I am trying to publish a created survey, I got an error "Business Process Error There was an error processing the translations document."

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: There was an error processing the translations document.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>There was an error processing the translations document.</Message>
<Timestamp>2016-10-24T08:18:47.9912935Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[Microsoft.Crm.Surveys.Plugins.Merged: Microsoft.Crm.Surveys.Plugins.SurveyPublish]
[7d6371a2-6f97-e111-987f-00155d230e08: Microsoft.Crm.Surveys.Plugins.SurveyPublish: Update of msdyn_survey]
Diagnostic code:0
Diagnostic code:10
Diagnostic code:20
Diagnostic code:30
Diagnostic code:40
Diagnostic code:50
Diagnostic code:60
Diagnostic code:70
Diagnostic code:80
Diagnostic code:90
Diagnostic code:100
Diagnostic code:110
Diagnostic code:120
Diagnostic code:130
System.Xml.XmlException: '4' is an unexpected token. The expected token is '"' or '''. Line 1, position 14342.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options)
at Microsoft.Crm.Surveys.Plugins.TranslationDocument.UpdateTranslationDocument(String fileContent, Dictionary`2 surveyTranslationTexts, String baseLanguage, String emptyTranslationDocumentMessage, String translationNoRowsMessage, String unableToAddTranslation, String defaultLanguageNotFoundInDocumentMessage, String&amp; languagesAsString, Boolean&amp; partialTranslations, Dictionary`2&amp; upsertTranslations)
at Microsoft.Crm.Surveys.Plugins.TranslationHelper.UpsertDocument(Entity masterSurvey, IOrganizationService crmService, Guid organizationId, ITracingService tracer, Boolean createFromEntityTranslations, Dictionary`2 replacementKeys, String&amp; languages, Dictionary`2&amp; updatedTranslationTexts, String baseLanguageMessage, String informationTabMessage, String organizationIdMessage, String surveyNameMessage, String dataEncodedMessage, String translatorTipMessage, String translationInstructionsMessage, String translationsTabMessage, String typeCellMessage, String titleCellMessage, String attributeNameCellMessage, String displayNameCellMessage, String unableToLoadAttachmentMessage, String emptyTranslationDocumentMessage, String translationNoRowsMessage, String unableToAddTranslationMessage, String defaultLanguageNotFoundInDocumentMessage, String localizedTranslation)
at Microsoft.Crm.Surveys.Plugins.SurveyPublish.ExecutePluginLogic(VocPluginContext vocPluginContext)
Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: There was an error processing the translations document. ---&gt; System.Xml.XmlException: '4' is an unexpected token. The expected token is '"' or '''. Line 1, position 14342.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options)
at Microsoft.Crm.Surveys.Plugins.TranslationDocument.UpdateTranslationDocument(String fileContent, Dictionary`2 surveyTranslationTexts, String baseLanguage, String emptyTranslationDocumentMessage, String translationNoRowsMessage, String unableToAddTranslation, String defaultLanguageNotFoundInDocumentMessage, String&amp; languagesAsString, Boolean&amp; partialTranslations, Dictionary`2&amp; upsertTranslations)
at Microsoft.Crm.Surveys.Plugins.TranslationHelper.UpsertDocument(Entity masterSurvey, IOrganizationService crmService, Guid organizationId, ITracingService tracer, Boolean createFromEntityTranslations, Dictionary`2 replacementKeys, String&amp; languages, Dictionary`2&amp; updatedTranslationTexts, String baseLanguageMessage, String informationTabMessage, String organizationIdMessage, String surveyNameMessage, String dataEncodedMessage, String translatorTipMessage, String translationInstructionsMessage, String translationsTabMessage, String typeCellMessage, String titleCellMessage, String attributeNameCellMessage, String displayNameCellMessage, String unableToLoadAttachmentMessage, String emptyTranslationDocumentMessage, String translationNoRowsMessage, String unableToAddTranslationMessage, String defaultLanguageNotFoundInDocumentMessage, String localizedTranslation)
at Microsoft.Crm.Surveys.Plugins.SurveyPublish.ExecutePluginLogic(VocPluginContext vocPluginContext)
--- End of inner exception stack trace ---
at Microsoft.Crm.Surveys.Plugins.SurveyPublish.ExecutePluginLogic(VocPluginContext vocPluginContext)
at Microsoft.Crm.Surveys.Plugins.BasePlugin.Execute(IServiceProvider serviceProvider)

</TraceText>
</OrganizationServiceFault>

Line 1, position 14342 - <Data ss:Type="String"><font face="Times New Roman" size=4>Эргономика и удобство использования</font></Data>

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans