本文介绍了具有有效报告ID的ReportingServiceInvalidReportId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我对PollGenerateReport有疑问。在过去的几天里,我收到消息
"指定的报告ID无效。请使用有效的报告ID。"。我使用的报告ID来自SubmitGenerateReport。当我查看id时,报告ID应该有效,它看起来与之前请求的报告完全相同。我发送的
soap消息看起来像这样,应该可以正常工作。


< SOAP_ENV:Envelope xmlns:SOAP_ENV =" http://schemas.xmlsoap.org/soap /信封/"的xmlns:NS1 = QUOT; HTTPS://adcenter.microsoft.com/v8" >

  < SOAP_ENV:标题>

    < ns1:DeveloperToken> {DevToken}< / ns1:DeveloperToken>

    < ns1:UserName> {USERNAME}< / ns1:UserName>

    < ns1:密码> {密码}< / ns1:密码>

    < ns1:CustomerAccountId> {CustomerAccountId}< / ns1:CustomerAccountId>

    < ns1:CustomerId> {CustomerId}< / ns1:CustomerId>

  < / SOAP_ENV:标题>

  < SOAP_ENV:正文>

    < ns1:PollGenerateReportRequest xmlns =" https://adcenter.microsoft.com/v8">

      < ns1:ReportRequestId> {xxxxxxxxx}< / ns1:ReportRequestId>

    < / ns1:PollGenerateReportRequest>

  < / SOAP_ENV:正文>

< / SOAP_ENV:信封>


xxxxxxxxx仅为数字。为什么我收到无效的报告ID错误?可能是SubmitGenerateReport之后的请求很快发生了吗?


Jorik Kraaikamp

解决方案

Hello,

I have a problem with PollGenerateReport. In the last few days I get the message"The specified report id is invalid. Please use a valid report id.". The report id that I use comes from the SubmitGenerateReport. The report id should work when I look at the id it looks exactly the same as a report requested before. The soap message that I send looks like this and should work.

<SOAP_ENV:Envelope xmlns:SOAP_ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adcenter.microsoft.com/v8" >
  <SOAP_ENV:Header>
    <ns1:DeveloperToken>{DevToken}</ns1:DeveloperToken>
    <ns1:UserName>{USERNAME}</ns1:UserName>
    <ns1:Password>{password}</ns1:Password>
    <ns1:CustomerAccountId>{CustomerAccountId}</ns1:CustomerAccountId>
    <ns1:CustomerId>{CustomerId}</ns1:CustomerId>
  </SOAP_ENV:Header>
  <SOAP_ENV:Body>
    <ns1:PollGenerateReportRequest xmlns="https://adcenter.microsoft.com/v8">
      <ns1:ReportRequestId>{xxxxxxxxx}</ns1:ReportRequestId>
    </ns1:PollGenerateReportRequest>
  </SOAP_ENV:Body>
</SOAP_ENV:Envelope>

The xxxxxxxxx are numbers only. Why do I get the invalid report id error? could it be that the request after the SubmitGenerateReport happens to quickly?

Jorik Kraaikamp

解决方案


这篇关于具有有效报告ID的ReportingServiceInvalidReportId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 21:14