New answers tagged

2 votes

'Bad Request' error while sending Soap API to update the query activity

Your QueryText property contains characters that are part of XML markup. You can either HTML encode your query or place it inside a CDATA section: <?xml version="1.0" encoding="UTF-8&...
user avatar
  • 7,766
1 vote

How to get deployment's error messages using SOAP

The error message should be in: System.debug(deployResult.details.componentFailures[0].problem); The topLevel errorMessage and errorStatusCode are for payload problems (e.g. invalid XML or a missing ...
user avatar
  • 434k

Top 50 recent answers are included