Failing to retrieve attachments from EWS server











up vote
0
down vote

favorite












We have a file attachment synching feature that is used by an Outlook add-in (OfficeJS). The EWS token and URL are fetched using [3] and [4]



We fetch attachments using EWS SOAP API calls detailed here[2]. However, we have noticed that some of these calls fail randomly and will succeed in subsequent retries. I do not think this is related to signed emails [1]. Is there a rate limit on the EWS SOAP API calls?



Reference



[1] EWS: Retrieving attachments from signed emails



[2] https://docs.microsoft.com/en-us/outlook/add-ins/get-attachments-of-an-outlook-item#use-ews-to-get-the-attachments



[3]https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#ewsurl-string



[4] https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#getcallbacktokenasyncoptions-callback










share|improve this question


























    up vote
    0
    down vote

    favorite












    We have a file attachment synching feature that is used by an Outlook add-in (OfficeJS). The EWS token and URL are fetched using [3] and [4]



    We fetch attachments using EWS SOAP API calls detailed here[2]. However, we have noticed that some of these calls fail randomly and will succeed in subsequent retries. I do not think this is related to signed emails [1]. Is there a rate limit on the EWS SOAP API calls?



    Reference



    [1] EWS: Retrieving attachments from signed emails



    [2] https://docs.microsoft.com/en-us/outlook/add-ins/get-attachments-of-an-outlook-item#use-ews-to-get-the-attachments



    [3]https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#ewsurl-string



    [4] https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#getcallbacktokenasyncoptions-callback










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      We have a file attachment synching feature that is used by an Outlook add-in (OfficeJS). The EWS token and URL are fetched using [3] and [4]



      We fetch attachments using EWS SOAP API calls detailed here[2]. However, we have noticed that some of these calls fail randomly and will succeed in subsequent retries. I do not think this is related to signed emails [1]. Is there a rate limit on the EWS SOAP API calls?



      Reference



      [1] EWS: Retrieving attachments from signed emails



      [2] https://docs.microsoft.com/en-us/outlook/add-ins/get-attachments-of-an-outlook-item#use-ews-to-get-the-attachments



      [3]https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#ewsurl-string



      [4] https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#getcallbacktokenasyncoptions-callback










      share|improve this question













      We have a file attachment synching feature that is used by an Outlook add-in (OfficeJS). The EWS token and URL are fetched using [3] and [4]



      We fetch attachments using EWS SOAP API calls detailed here[2]. However, we have noticed that some of these calls fail randomly and will succeed in subsequent retries. I do not think this is related to signed emails [1]. Is there a rate limit on the EWS SOAP API calls?



      Reference



      [1] EWS: Retrieving attachments from signed emails



      [2] https://docs.microsoft.com/en-us/outlook/add-ins/get-attachments-of-an-outlook-item#use-ews-to-get-the-attachments



      [3]https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#ewsurl-string



      [4] https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.7/office.context.mailbox#getcallbacktokenasyncoptions-callback







      office-js outlook-web-addins






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      Sameera Jayaseckara

      95110




      95110





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371385%2ffailing-to-retrieve-attachments-from-ews-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371385%2ffailing-to-retrieve-attachments-from-ews-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          SQL update select statement

          'app-layout' is not a known element: how to share Component with different Modules