ExcelREST API Unauthorized in workflow only (browser commands work OK)

I am attempting to pull a range of cells from an excel spreadsheet in a SP 2013 doc library.  The URI is as follows 
https://<site>/_vti_bin/ExcelRest.aspx/<dir/filename>/Model/Ranges('Sheet1!E1%7CE100')
The URI produces clean results when entered into a browser address bar,
including all variants (discovery, sheets, charts, formats).  But
when I use a SP 2013 workflow it always returns "Unauthorized" as the Response Code.
The workflow (calling HTTP GET) is in a list on the same site as the doc library, and other (HTTP POST) workflows from this same list have written plain text to the target doc library, so no auth issues in seemingly similar circumstances.
I tried creating a null "Authorization" string as part of the Request Headers dictionary variable, as advised by other experts on the web, however that has not made a change in the results.  Also using "application/json;odata=verbose"
for the "Content-Type" and "Accept" strings withing my Request Headers, but the presence or absence of those two strings has no effect either.
TIA for any advice.

Hi,
According to your post, my understanding is that you get “unauthorizaed” issue in the workflow.
To use the POST method, we should include the X-RequestDigest
and Content-Length headers in the workflow.
I recommend you can first use the Fiddler to compose the HTTP POST method with the properly request headers and request body, then create your workflow.
There are two articles about using the Post method, you can refer to them.
http://www.fabiangwilliams.com/2013/09/04/using-the-call-http-web-service-rest-calls-in-sharepoint-online-using-spd/
http://blog.appliedis.com/2014/10/09/sharepoint-designer-2013-workflow-working-with-web-services/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • Firefox the only browser that works?

    I'm having a really strange problem...
    Since maybe a couple weeks ago Firefox is the only browser that works for me. Other browsers can't seem to connect to ANY website. I've tried Safari and Opera... they don't work.
    I have:
    tried several different wifi signals
    reinstalled Safari, Opera, and Firefox
    reinstalled OS X (archive and install)
    repaired disk permissions
    No matter what I do, Firefox is the only thing that works

    That's not a particularly good thing. Browsers should NEVER ignore system wide proxy settings. They need to change that.
    Firefox has 3 Proxy modes:
    a) No proxy
    b) Auto-detect proxy settings for this network
    c) Manual proxy configuration
    The default is "No proxy"
    If you select "Auto-detect proxy settings for this network", Firefox will use the Network proxy setting.

  • Internet issues - Firefox is the only browser that works

    I'm connected to the internet through a wireless connection. Firefox is my default browser, and I have no issues using it. However, no other browsers can connect to the internet. I've tried Safari, Opera and Camino and none of them work. It doesn't make any sense to me why this wouldn't work if Firefox works just fine.

    Duplicate Thread Lock please https://support.mozilla.com/en-US/questions/860912

  • Safari the ONLY browser that works

    Since upgrading to Leopard, I have been unable to use ANY other internet browser but Safari. Normally this wouldn't bother me since I prefer Safari, but there are some websites out there that don't play nicely with Safari and so other browsers are necessary. Each time I open Firefox/Netscape/Internet Explorer/Opera, I get this message:
    "The server may not exist or it is not operational at this time. Check the server name or IP address and your network connection and try again."
    I continue to get this message until I force quit the application.
    I've searched the the Apple discussions and the Firefox discussions countless times. I've emptied out any and all information from Firefox from my library. I've repaired my disk permissions more times than I can count. I JUST reinstalled Leopard. I performed updates beforehand. Shut down my computer for about 7 hours. Reinstalled. Performed more updates. Restarted. Installed Firefox. And I got the same message.
    Is there really no solution or did Leopard some how screw my computer beyond repair?
    Dani

    +I have no idea why, but there is no version of Internet Explorer or Netscape Navigator that will run under Leopard, so there's no way you could have possibly replicated this problem in these applications on that machine.+
    Sure there are! If you can find a copy of Internet Explorer 5.2, it'll run using Rosetta. There's even a pretty new version of Navigator out for the Mac that's a Universal Binary, although it's the end of the line. I have both running right now, just to be sure and to avoid putting my foot in my mouth.
    Danielle, from what I remember that error is more of system message rather than an error from within the browser itself. Here are a couple of questions to get started:
    Does the error show upon opening the browser(s), or when you try to navigate to a page? Is the problem with one specific website (Unlikely, I know, but you mention that "some websites don't play nicely" with Safari, which could lead someone to believe this is the case.) What kind of content are you trying to access? Your everyday run of the mill HTML page, or an FTP or directory, or...? Are you using a router? If so, what kind?
    I know, lotsa questions and little help. The more info you can provide means a better chance for an answer.

  • Is Safari the only Browser that works in osx

    I have tried several other browsers for work realted stuff, and none of these browsers function properly, I wonder if the fix is in?

    It might be easier to help you if you are more specific and detailed. What problems are you having with which browser(s)? Are particular sites involved, particular actions? Are particular needs not met? The more detail you can give the better response we can give.
    To answer the question in your topic title, yes, there are 8 or 9 very good or excellent browsers for OS X. These include:
    Camino
    Firefox
    iCab
    <a href="http://www.focusvision.com/prod_need.html</a> Abandoned by Microsoft and outdated, but some people still like it
    <a href="http://www.mozilla.org/products/mozilla1.x/">Mozilla Suite of Internet tools
    Netscape Basically a branded Mozilla suite of Internet tools
    OmniWeb
    Opera
    SeaMonkey A continuation of the Mozilla suite
    Shiira
    SunriseBrowser aimed at developers

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • The window where Domain Name, Edit, Modify doesn't show up to access my Fatcow website on my new iMac in Firefox (the only browser Macs can use). Help!

    Just got a new iMac. For the first few days, I was able to log in to, then access the window in Fatcow web host that allows me to make changes to my website. Now, the window that is supposed to say "Domain Name" and "Edit" and "Modify" is blank, so I cannot access my website to make changes. Firefox is the only browser available to Macs through Fatcow. In the two weeks before getting the iMac, I had the same problem on an Acer laptop. Hughesnet is our internet provider, since we live in the country. I have worked with several Fatcow techs, and they do not believe the problem is on their end. When I open Firefox, there is now also a message that says I'm missing plugins, yet when I follow the plugin link, no plugins are listed as missing. I have removed/reinstalled Firefox, to no avail. I have turned off the clear-cookies-automatically add-on, cleared the cache and history, etc., to no avail. I have printed out the HTML script for the Fatcow window from my Mac at work (from which I can access the window) and compared to the one at home. There doesn't appear to be any script missing, but I can't say for sure. I have read several articles, hoping for clues to fixing this problem. Now I need your technical expertise. HELP!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • 11.5.10.2 Workflow-only users licensing

    Hi,
    I have a question on licensing required for the users who only have a 'Workflow user' responsibility in OEBS, version 11.5.10.2.
    We'd like to start using iExpenses, but currently lots of potential approvers do not have any access in OEBS, I wonder how much it could cost us to create them in the system as a workflow-only users. Any references to Oracle's pricing policy on the subject are welcome.
    Thanks,
    Vadim

    Please contact your Oracle Sales representative; he/she is the best one to answer Oracle License questions.
    You may review these links and see if it helps.
    Global Pricing and Licensing
    http://www.oracle.com/us/corporate/pricing/index.html
    Oracle Price Lists
    http://www.oracle.com/us/corporate/pricing/price-lists/index.html
    Thanks,
    Hussein

  • System not allowing to use park workflow only for GL

    Hi Gurus,
    We have created workflow variant and selected release posting and release payment.
    We want to use workflow only for GL document but when we are parking vendor invoice in fv60, system is not allowing to post parked vendor invoice and saying not released.
    We want one user to park and post vendor invoice. Right now we are not able to.
    Please help.
    Thank you

    Hi Mohit,
    Post can be possible to next authorized level. Check settings or else go to FBV3 ,enter document number ,company code and year > Enter > where you can see the workflow tab > Click on that where you came to know how may release levels are assigned.
    In same view > Click on system in menu bar > services for object > Click on workflow icon > where you came to know who is the next approver.
    Regards
    Mani

  • Need to restrict triggering of workflow only once(first time).

    Hi guys,
    I hv a requirement to trigger the workflow only once(first time).
    whatever is the the condition/changes in document, it should not trigger for second time.
    do we hv any options available for this........
    thanks in advance...
    santosh.

    Hi susan,
    Below is the requested information,
    Release : ECC 6.0
    we are working on custom WF for ECO creation(CC01).
    Description,
    ECO is created in SAP by legacy system, thru bapi CCAP_ECN_CREATE, the WF will take the editing of the material in that ECO to different departments like MRP, accounting, sales,quality etc.... & respectively creates the views.
    we cannot use CREATE event, bcos first the ECN(CC01) is created by bapi & further bapi creates the material & inserts it into ECN again, which is CHANGING the document. once this is done, our WF should trigger.
    As we dont have CHANGE event in ECM BO, i am using CREATE event & settting it for ON CHANGE in SWEC t-code.
    Bottomline is , it is triggering as soon as any changes happens.
    But, we want it to restrict for one time triggering.
    Regards.
    santosh.

  • How to set role which can issue only one command

    I am thinking about setting role, which will be allowed to issue olny one command. I have created role test. Which has the following entries in the following files:
    /etc/user_attr
    test::::profiles=OneCommand;type=role
    /etc/security/exec_attr
    OneCommand:solaris:cmd:::/tmp/data.sh:euid=0
    After this I sill could issue all comands, not only test command /tmp/data.sh.
    When I issued comand profiles on test role I received the following:
    bash-3.00$ profiles test
    OneCommand
    Basic Solaris User
    All
    So I commented line in the /etc/policy.conf to read:
    #PROFS_GRANTED=Basic Solaris User
    After that, when I try to issue /tmp/data.sh command as a test role I receive the following error:
    $ /tmp/data.sh
    pfexec: Exec format error
    Does anybody know how to set up the role which can issue only one command ? Maybe there is a way to do this in the way which wil not affect another roles (ie, not to touch /etc/policy.conf).
    Best regards

    RadekW wrote:
    I am thinking about setting role, which will be allowed to issue olny one command. I have created role test. Which has the following entries in the following files:They will need the ability to run at least a profile shell otherwise all bets are off. So now you're down to two commands. :-)
    bash-3.00$ profiles test
    OneCommand
    Basic Solaris User
    AllFirst you need to define what already exists by default. (policy.conf)
    Then you get to change those defaults or create a new default list just for test.
    Then you get to add a role or profile for test that allows the execution of a profile shell and one command.
    Then you should test all of the user accounts to ensure that something didn't break. This step might be a little overkill.
    alan

  • ABAP APIs for MDM Workflow Modification

    Hello All
    I require a help from all of you. Currently I have a particular business case where I need to configure the MDM workflow & do changes & modifications in it via ABAP APIs. Currently we are having Java APIs in plcae.
    Can you please tell me whether we have some ABAP APIS for this MDM Workflows, if yes what are their EXact names & functionalitites.
    Also can we download them from Service Marketplace.
    Please reply ASAP.
    Regards
    Madhurim Basu

    Hi Madhurim Basu
    ABAP API(SAP MDM 5.5.-7.1) are'nt support workflow management
    SAP MDM(5.5-7.1) JAVA API  are support workflow
    More about JAVA API you can read from:
    http://help.sap.com/javadocs/MDM/current/
    Regards
    Kanstantsin

  • How to craete a user who can only browse the dashboard??

    Hi friends,
    How to create a test user who can only browse the dashboards and not able to modify any of the reports using answers??
    Please tell me the steps.
    Thanks

    @Alastair: I thought it'd be nice to start a new trend in the forum.
    @bob123: Depends on how you manage your user and groups in general. Everything created in the RPD? Read from some Oracle tables? LDAP/ADSI? You can do it in the RPD, in the web catalog (Edit Group -> Group Membership ==> The table below contains a list of the current members of this group. Users can join the group by entering the group's password from the Join Catalog Group screen, or you can manually add them by clicking Add New Member below.) or outside.

  • Firefox is it the only browser that you need to have your task manager open with in order to surf?

    Firefox is it the only browser that you need to have your task manager open with in order to surf?

    Nothing much to see on that site, but I don't have a problem opening the page. See screenshot.
    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • My 1GB Data Keeps Being Used When I Am Only Browsing - Please Help!

    On Tuesday 10 February 2015 I topped up £10.00 and used £7.50 of it to purchase 1GB of data. Once I did this I didn't think anything of it. I came onto the internet and started browsing webpages to find that my data was being guzzled down in the background and then I definitely knew something was wrong because I wasn't streaming or downloading anything, I was just browsing. I then rang EE and they apologized about this and added 1GB back on for me as a goodwill gesture, except as soon as they did that, it did it all over again. I then rang them back up once again and they told me to install the My Data Calculator application within the Play Store so I did just that but it only showed that the Wi-Fi tethering was using this but like I said above, I was only browsing not downloading anything. None of you did anything to help me and I suggest that you need to sort this out! I would like a full investigation on this because I paid £7.50 for data and to be honest, I will be very lucky if I have used a small portion of it!

    I am having exactly the same problem! I have subscribed to the mobile broadband service for 3 months with a 15gb allowance per month and use it only a couple of times a week when working away. My browsing habits have not changed either but I also find that my allowance is used up quickly. I topped up 1gb on Monday and started to use it Tuesday and within a few hours it was gone. It would be impossible as I was only browsing. I have a 1gb allowance with my phone on the 3 network and I dont use that in one month!!! There is definetly something sinister going on. Tried to contact online customer services but said it wasnt their problem told me to ring a number they gave me before rudely disconnecting me. Dreadful service. There is for sure unfair tactics at play here. Impossible that 1gb would be decimated in a matter of hours.

Maybe you are looking for