Preflight (OPTIONS) issue

Hi,
There is an issue with preflight support in documentDb Rest API. It appears that it requires authentication header for OPTIONS verb. But this preflight request is constructed by the brower and it ignores provided headers.
Fiddler Trace :
OPTIONS https://tenant.documents.azure.com//dbs? HTTP/1.1
Accept: */*
Origin: http://127.0.0.1:9000
Access-Control-Request-Method: GET
Access-Control-Request-Headers: cache-control, x-ms-version, x-ms-date, authorization, accept
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: tenant.documents.azure.com
Content-Length: 0
DNT: 1
Connection: Keep-Alive
Cache-Control: no-cache
HTTP/1.1 401 Unauthorized
Transfer-Encoding: chunked
Content-Type: */*
Content-Location: https://tenant.documents.azure.com/dbs?
Server: Microsoft-HTTPAPI/2.0
x-ms-activity-id: dad78849-f3df-4123-857b-98a27a072915
x-ms-gatewayversion: version=0.9.70.1
Date: Sun, 19 Oct 2014 17:45:00 GMT
7b
{"code":"Unauthorized","message":"Required Header authorization is missing. Ensure a valid Authorization token is passed."}
0
Cyprien Autexier

You're right that DocumentDB not currently support OPTIONS through our REST API. Please send me a note at firstName dot lastName at microsoft dot com. We'd like to understand this calling pattern through the browser better, and we can explore ways to unblock
you and/or add this support.

Similar Messages

  • Configurator is 'Unable to Update iOS". Error 11 (Preflight options copy fail)

    I'm attempting to restore 720 iPads to factory settings, and place a Configurator profile on them.
    I'm using a Bretford Cart that holds up to 30.
    Everytime I run configurator, it's unable to update iOS, and it specifically says that It "failed to copy preflight options during recovery mode restore. Error 11."
    Half of them work, and are done correctly, and the other half give the error.
    Some of the iPads are on iOS 5, I'm sure, considering the amount of iPads that I'm dealing with. Could this be the issue?
    What am I doing wrong?

    It's been a while, but I think I had to finally completely reset all of them to factory settings, and run them through the entire system again.
    It could be the cart (and configurator) having a problem applying settings to multiple OS installs. I'd put my money on this being the issue.

  • Does IE-11 send preflight OPTIONS request in case of CORS ?

    Hi,
    I am seeing preflight OPTIONS request is not being sent from IE-11 browser while doing a
    cross domain non-simple call. First request sent is handshake request only. What are the cases when IE-11 does and does not send preflight OPTIONS request ?
    Thanks,
    Anuj

    Hi Anuj_577,
    Here is a link may be helpful of understanding this issue.
    CORS Support in ASP.NET Web API 2
    http://msdn.microsoft.com/en-us/magazine/dn532203.aspx
    As the link said ,there are two different ways :
    simple CORS requests and preflight CORS requests. Apart from this ,there is a feature called preflight cache mentioned . It can be used to reduce the request. Here is another link for reference:
    Cross-Origin Requests (CORS) in Internet Explorer, Firefox, Safari and Chrome
    http://www.webdavsystem.com/ajax/programming/cross_origin_requests
    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
    Considering this is more likely a developing issue, it is recommended to post it in our Internet Explorer developing forum. The people there are more experienced in this area.
    Internet Explorer Dev Center
    https://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment
    Best regards

  • How to automate the preflight option.

    I need to automate the "Advanced->preflight" option through any software. Kindly advice me.

    Hi there.
    Having the exactly same problem.
    Company bought Adobe Acrobat 9 PRO - version 9.4.3
    I open PDF, i try to save as PDF/A or PDF/X, then a message appears:
    The document has been saved, however, it could not be converted according to the selected standard profile: Convert to PDF/X. Please use Preflight with the profile "Convert to PDF/X" in order to identify those properties of the document which prevent it from being compilant to this profile.
    Soo I guess we are one of those ten of thousands users that this just does not work.
    I would also like to use this posting reply as a chance to ask is there I way we could automate the procedure after we find out why saving in PDF/A format is not working? As a some kind of batch tool procedure, where you would select all the PDF files and convert them to PDF/A ?

  • Scripting Preflight options In Design (CS4)

    I'm trying to make a script that will install predefined Preflight options in In Design. This is my script till now :
    tell application "Adobe InDesign CS4"
    try
    make new preflight profile with properties {name:"TEST"}
    end try
    tell preflight profile "TEST"
    set description to "Preflight !!"
    tell preflight rule instance "ADBE_MissingModifiedGraphics"
    set flag to return as error
    end tell
    end tell
    end tell
    This gives the error : Adobe InDesign CS4 got an error: Preflight profile rule does not exist in the profile
    Is there a way to avoid that? If i click on a preflight option in In Design it works fine after that. (But offcourse i want that automaticly done)
    Jan Geerling

    That script doesn't look right. My *guess* is that you need something like<br />this:<br /><br />tell application "Adobe InDesign CS4"<br />    delete preflight profile 2<br />    try<br />        make new preflight profile with properties {name:"TEST"}<br />    end try<br />    tell preflight profile "TEST"<br />        set description to "Preflight !!"<br />        set pri to make preflight rule instance with properties<br />{id:"ADBE_MissingModifiedGraphics"}<br />        set flag of pri to return as error<br />    end tell<br />end tell<br /><br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Sessions <a href=http://scriptingmatters.com/aspro>

  • Web template - Drop Down Box options - Issue

    <b>Requirement:</b> We need drop downboxes for Fiscal Period and Version in our web template. When the query is run, users will choose one fiscal period and one budget version (there are multiple budget versions - 1. Original Budget, 2. Revised Budget 3. Consensus)
    After the query is run, users should be able to see data for any of the past 6 periods and any of the budget versions. So in the drop down list for fiscal period, he should see previous 6 periods and in the drop down for Budgets, they should see all the budget versions.
    If the read mode is set to "Posted values", then only the values user chooses for the variables  at run time will be shown. If the read mode is set to "Dimension table" it'll show all the available periods from the transactional data, which is unacceptable. We also tried the option "Can be changed during Query Navigation" but it will not work the version drop down box as it'll show all the available versions (actual, plan, forecast along with the different budgets)...
    So, is there any other way of solving this issue? By any Javascript?
    <i>This is what I did for the Fiscal Period drop down, but then the solution is not complete.</i>
    For the Fiscal Period variable, I created a new variable and checked the option "Can be changed during Navigation". Then the drop down will be populated with all the possible values. This is how the Fiscal year/ Period combo will work. We'll have two variables. Fiscal year is fixed and we won't have a drop down box for it. So user can not change the year after the query is run. But he can see data for any of the 12 periods of the year he selected.
    But there is a catch. This is not exactly what we are looking for. For example, if the user initially selects Year 2005 and period 10, then he can see all the previous 9 period of year 2005 (also periods 11 and 12). No problem there. But If the user initially selects year 2005 and Period 1, then he expects to see previous periods. But since year is fixed, when he selects period 12 from the drop down list, it'll show him period 12 of 2005 instead of 2004.
    To avoid that problem, we can also put a drop down box for year, but that will become too complicated, as the all the possible years will show up in the drop down. Still trying to figure out a solution around it. Also same problem arises for Version. We only want to see two versions of the Budget. But it'll show them all the possible versions including forecast, actual etc.
    Any insight is highly appreciated.
    Gova

    Hi.
    I has the same problem working on BID.
    Either you need to save the template with a new name or do it under BIP.
    It worked after for me.
    That's why I only do my templates under BIP now.
    I guess a new support package corrects this error.
    Olivier

  • Preflight panel issues. still.

    CS4 6.03. MAC.
    When I turn on preflight on it continuously checks the entire document. The list goes grey to black every 2 seconds (see attached screen grabs) and while it's grey, I can't choose anything because it's "checking". I'm assuming it's constantly updating the info but it's really, really annoying that it does this every 2 seconds. Is there a way to stop this from happening?
    It does the same thing on both my custom setting and the basic one.
    How do I stop it from continuously checking the entire document every 2 seconds. Is there a timer setting I can change somewhere?
    Is this just a software glitch?
    Thanks for any help you can give me.
    Tracy

    MAC OS 10.5.7
    Dual 2 GHz PowerPC G5
    1.5 GB ram
    I could just leave it off, but that still doesn't solve the problem. Plus, while I'm checking each error, I have to wait for it to stop checking before I can even click on the item. The flashing thing is super annoying.
    Also, I'm currently working on a 4 page document but If I have one that is 20+ it could take forever to "check" the file, thus having longer than 2 second intervols where I can click on a item.
    Does this make sense? It's very frustrating. I can't believe no one else has seen this issue.
    Again, thanks for keeping on this issue. I really appreciate it.
    tracy

  • SELECT OPTIONS ISSUE

    Hi Experts,
    I am using a select options for one field on my screen with extension which gives me an Arrow right next to the Field , now the issue is when i click on the Arrow a search help opens up for multiple selection.
    In this search help there are "FROM" and ''TO" columns , i would like to disable or make that "TO" column invisible i know it is possible in ABAP through function modules but how can it be acheived in webdynpro.
    I have gone through the "if_wd_select_options" class but couldnt find a solution for this , please lead me to the
    right approach.
    Thanks In Advance,
    Chaitanya.

    Hello Chaitanya Raju,
    You must be resusing the Select-option component WDR_SELECT_OPTIONS
    Follow below steps to create a select-options without ranges.
    I think this is only possible with dynamic handling.
    1)Acess the method: remove_all_sel_screen_items to Removes All Elements in Selection Screen.
    2)build up new screen by calling the method: ADD_SELECTION_FIELD.
    Before calling the 2nd step --> you will have to populate all the information that is required to build a select-option.
    *add select options field
      CALL METHOD wd_comp_controller->mo_so_handler->add_selection_field
        EXPORTING
          i_id                         = is_sel_op-m_id
          i_within_block               = is_sel_op-m_within_block
          i_description                = is_sel_op-m_description
          it_result                    = is_sel_op-mt_range_table
          i_obligatory                 = is_sel_op-m_obligatory
          i_value_help_id              = is_sel_op-m_value_help_id
          i_no_extension               = is_sel_op-m_no_extension
          i_no_intervals               = is_sel_op-m_no_intervals
          i_no_complex_restrictions    = is_sel_op-m_no_complex_restrictions
          i_as_checkbox                = is_sel_op-m_as_checkbox
          i_as_dropdown                = is_sel_op-m_as_dropdown
          it_value_set                 = is_sel_op-mt_value_set
          i_read_only                  = is_sel_op-m_read_only
          i_tooltip                    = is_sel_op-m_tooltip   .
    You can refer to this link for more info.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdabap/multiple%252bdynamic%252bselection%252bblocks%252bin%252bwebdynpro-abap
    Thanks,
    Bharath.K

  • WebInt SP2 Prompt Options Issue

    Hello experts,
    We have a BO Enterprise XI R3.1 on top of a SAP BI 7.0 (SP 20).
    After upgrading our Business Objects Enterprise XI R3.1 (client and server, SAP integration Kit, client tools on designeru2019s machines, Xcelsius, LiveOffice, BI Widget) to SP2 we have encountered a problem In Web Intelligence that occurs if the following conditions apply:
    a)     When working with SAP universes (either with universes coming directly from an InfoCube or universes generated by a BEx query)
    b)     If a Web Intelligence query filter is added that is set to be equal with a user prompt with List of Values (LoV) enabled.
    c)     If both "Optional Prompt" and "Select Only from List" prompt options are selected.
    d)      If the characteristic (dimension) that you apply this filter on has different values on its Texts (descriptions) than its Master Data (Key values)
    i.e.
    Master Data     Texts
    MyKey1     MyDescription1
    MyKey2     MyDescription2
    MyKeyN     MyDescriptionN
    e)     If the user selects in the prompt one of the characteristic values as described in d)
    Result:
    If all the above are true then even though the data for the specified filter exists the web intelligence report returns a message informing that there werenu2019t any data for the selected criteria.
    u201CWorkaroundu201D (?):
    If the user deselects one of the options described in c) the query appears to run normally. The user selects a value from d) and the query returns the correct results.
    By doing this though another issue arises: If we try to run this query through the OpenDocument facility and passing the key value for the before mentioned prompt a u201Cno datau201D message is returned.  On the other hand if we try to pass the Text instead the key value the query runs well on the OpenDocument.
    Note that if we tick both options described in c) the query runs from OpenDocument as it should be; by passing the key values and not the description of the object that the prompt filter is built on.  This of course leads back to where all started; the u201Cno datau201D message is returned now when running the query directly.
    Anyone else has noticed any similar issues? Any ideas on the matter?
    Thank you in advance,
    Giorgos

    Hi Ritesh,
    I guess the way you are implementing the query in Dashboard is the optimum way.
    If you go through BICS it will be slow.
    There is a way where you can select during the creation of query in Dashboard how may levels to expand and display at the initial load. But again the initial load will be slow.
    You could try that and see how it works for you.

  • BPC75NW - Workbook Options & Refresh Options Issue

    We are on SP9 with Client 9.  The issue is that in the Workbook Options, Refresh Options section the boxes to indicate refresh preferences are not accessible..instead they are "greyed" out.  The box to Allow Changes by Users is OK..white box and checked.  Impact on the reports is that cells containing EVCVW formulas for dimension member changes are not refreshed by a double click on the cell to select a new  member...instead the old member stays put in the cell.  However, the Action Pane CVW is updated with the new member selection.  Executing the report results in the right data and updated cells in the body of the report.  However, this is not correct behavior or so it seems.  Why are the Refresh Option boxes inacessible - "greyed" out?  How do we fix this so that the boxes are white and accessible to users once again?
    Thank you.

    This issue was resolved by uninstalling and reinstalling the client 9 BPC application.  I'm still not sure why it occurred in the first place, but it is resolved.

  • Shipping Options Issue

    We are having an issue with the shipping options on 6 of our online shop items.  They are all of our Journey Packs, and all require multiple choices when making the purchase, so I’m not sure if that is contributing to the issue.  These are the items #’s as they are listed in Business Catalyst are:
    Journey Pack Ambasadors Kit
    JRNYPCKAMB
    Journey Pack Brownies Kit
    JRNYPCKBR
    Journey Pack Cadettes Kit
    JRNYPCKCAD
    Journey Pack Daisies Kit
    JRNYPKDSY
    Journey Pack Juniors Kit
    JRNYPCKJR
    Journey Pack Seniors Kit
    JRNYPCKSR
    The issue is that when the customer is ready to check out, they are only given the option to pick up in one of our shops, not to have their order delivered.  We’ve never had this issue with any of our other online items.
    Here's the address for our online shop is http://www.girlscoutsgcnwi.org/shop. Look on the lower left side of the page and click "Journey Packs and Combos".

    Hi,
    This looks like it is due to the product item's base price is $0 which only triggers shipping options that has min of $0.  I see that you have min/max values for shipment. 
    The only workaround I can see if to set some sort of base price to trigger special shipping for these type of products that have base pricing of $0.
    Kind regards,
    -Sidney

  • Workspace Search Option Issue....

    Hi All,
    The Search option in the Workspaces is not returning proper results. It always gives the same result output.
    Even if i use the proper File Name / Discussion Name / Meeting Name also..
    What might be the Issue here..?
    Best Regards
    Message was edited by:
    ark_505

    Here are some details of how searching various content works:
    Files: file name, file content for text files (10.1.2.3: does not search content)
    Discussions: message subject, message body
    Meetings: meeting subject, meeting location, meeting description
    You can use * as a wildcard character.
    Can you give a specific example of a search that is failing for each content type? For example: what is the filename, what is the search string? What is the meeting subject, what is the search string? And what results are you seeing?
    Finally, what version of workspaces are you using?
    regards,
    -Neil.

  • Adobe Acrobat Pro 9 export feature error:  Preflight profile issue

    Can anyone please help me with this issue?

    Open Acrobat Pro > Open the PDF > Select Advanced > Preflight.
    Acrobat Pro Help provides details about Preflight.
    http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7b82.w.h tml
    Be well...

  • Photosmart 7520 options issue: How to print black ink, on both sides, with borderless.

    I am checking to see if anyone has ever found a solution to the issue involved with borderless printing when the options "print on both sides" and "black ink only" are chosen.
    I used to be able to print on both sides, flip on long edge, and choose black ink only, and I was able to print borderless.  There was never an issue until last year, when out of the blue a yellow warning triangle appeared next to borderless printing.   I do not know why this happened, and I was never able to solve the issue, even with two hour-long conversations with polite and tireless HP phone reps.  One HP rep even helped me download a driver for a newer printer to see if that helped, and it did not.
    Now in order to print without the extra border, I have to do the following in order to receive the regular output:
    1.  After saving, I make a custom border that is .75 inches all the way around instead of one inch.
    2.  I increase the font size of every block of print by .5 in size.
    3.  Then I print, but I do not save;  when I close, it saves as it was before the changes I made to ameliorate the HP options mishap.
    If any HP technician our here can tell me when this issue will be addressed and solved, I would appreciate it. 
    Oh, I run an Acer laptop with Windows 7, the 64-bit version.  I use the wireless printing option.  This issue occurs with my Word Program (2013), and my up-to-date Adobe .pdf files. 
    Thank you very much.

    Hey there PrincessCupcake!
    Thanks for the detailed post back to me.
    If this was at one time an option for you and now is not, it would make sense to me that an update of some sort had made the option null and void for you, especially if you have completely uninstalled the printer driver and software and then reinstalled it. If the option was going to be available, doing the uninstall and reinstall would have fixed it in a jiffy.
    I am out of ideas as to any other cause besides an update, as you mentioned. If you have installed the printer on another computer, see if the options are there, if not, they aren't available.
    Happy Monday to you
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Boot menu - holding down 'option' issues

    Hi,
    I thought I would share an issue which had me confused but I figured out how to fix. I bought an Apple keyboard with the extended number pad and when trying to get to the boot menu by holding down 'option' it won't work. I had to switch to the default mini keyboard (without number pad) and hold down 'option' to get access to it.
    This was frustrating when trying to sort out some bootcamp issues.
    I hope this issue is addressed in future updates.
    Thanks,
    Greg

    I too have a really weird issue with the boot menu. It's only started happening recently (that and numerous other problems with this **** 17" MBP!).
    I hold down the 'Option' key to enter the boot menu... which it does, and it shows me boot options of OSX and Windows 7. Now the really weird thing is, when I select one and hit the enter key nothing happens... nothing!! It just sits on the boot menu screen... still allowing me to switch between the two but no response when enter is pressed. I've tried unplugging all external devices but to no avail.
    I've just reinstalled Snow Leopard (although without formatting the hard drive) and I totally scrubbed Windows 7 and reinstalled and it still has the same issue... sometimes... not always though.... aagghh!
    I've had more problems with this Mac than I've had with my old PC I hate to say.

Maybe you are looking for

  • Extra dates in contacts- how to get them to show in calendars

    I have added custom dates to contacts in IPhone - but only the primary birthday and anniversary show in calendar on phone. Is there any way of showing additional dates in calendar?????

  • Re: Purchase Music Again

    Hello. In the past I had multiple iTunes accounts. I have since deleted those old accounts and now just use one. I was still able to play music I had purchased on my old accounts through my computer except I bought a new computer and it is not author

  • Vk11 pricing conditions for LSMW  IDOC method...

    Hi Guru's, I am working on LSMW Idoc method. For Pricng conditions i am using Message type  'COND_A'  and basic type 'COND_A04'  . when we execute 14th step Idoc generation. I am Facing some problem like its displaying information message        ' Pa

  • Website Layout Design Help !

    Hey everyone, I'm quite new to Dreamweaver CC, and I would like to make a simple portfolio for the designs that I do. I would like to set up a website, with a simple logo, navigation below it and have posts and updates below. Similar to these website

  • Using a 5gen iPod and Shuffle on the same computer

    Before I go and install my wife's new shuffle on my computer I wanted to make sure that this won't screw up my existing iTunes and 5Gen iPod setup. I run Windows XP. I would like for us to use the same library--can I do this? What would be the easies