Keep getting Conflict or Bad Request

Hi,
I am trying to automate VM creation and capture image process using azure rest api. I have written logic which first creates a VM, updates roles and then captures image.  While trying this sequence of steps
Sometimes I get a Conflict Error for Update role and sometimes Bad Request for Capture Image. It is very unstable in the aspect that when I m trying to do this stuffs in parallel it keeps me giving unpreditable results. 
There is no issue in the request as I m able to do all this steps sequentially via console but when I try to have them parallel it causes issue. Could you please let me know if we have any issue running these service calls in parallel. If yes then what is
the best way to execute these steps:
1. Create VM
2. Update Role (I didn't wanted this step but I m not able to create endpoints in Step1 as I m using a image to create VM)
3. Capture Image

Hi Ankita,
Base on my experience, the reason of this error is the previous step is not completed, and you have sent the next request. So I suggest you can wait some minutes to send the next request using rest API. If you always have this issue, please share some
code and let me know.
Regards,
Will  
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I am getting an error Bad Request Request too long HTTP Error 400. The size of the request headers is too long.

    When I sign into Methodintegration.com my data base I can get in ok. When I sign out I get the following error: I am getting an error Bad Request Request too long HTTP Error 400. The size of the request headers is too long. If I close Fire Fox and go back in it will work one time and then I get the same error message.

    That is usually a problem with corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • I keep trying to load firefox 6 and keep getting this error - The requested URL /cse?cx=partner-pub-3540673482024757:xbhdw8hkfz5&ie=ISO-8859-1&q=&sa=Search was not found on this server. That's all we know. in English

    I keep trying to load firefox 6 and keep getting this error - The requested URL /cse?cx=partner-pub-3540673482024757:xbhdw8hkfz5&ie=ISO-8859-1&q=&sa=Search was not found on this server. That’s all we know. in English

    Bookmark and use this;
    Download the '''[https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Mozilla Search Reset]''' {web link}
    This add-on is very simple: on installation, it backs up
    and then resets your search preferences and home page
    to their default values, and then uninstalls itself. This
    affects the search bar, URL bar searches, and the home page.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • I keep getting a pop up requesting i install adobe flash player (mac)

    I keep getting a pop up requesting i install adobe flash player installer multiple times in a day i have installed the latest and selected don't notify me to try an avoid the pop up but still there please help me my current specs are Mac osx version 10.9.3 flash version 14.0.0.145 browser safari Version 7.0.3 (9537.75.14)

    Hi,
    I haven't encountered the behaviour your experiencing (Disk Image file continuously mounting) and this seems to be an issue with the mounted Disk Image and not Flash Player itself. Have you tried ejecting the mounted Disk Image?  I Googled your scenario, among the many results returned, here are some possible solutions:
    osx - How do I get rid of a .dmg file which appears after reboot on my desktop? - Super User
    http://www.tuaw.com/2007/05/02/mac-101-dmg-files-are-disk-images/
    Maria

  • Keep getting DataSource.Error: SapBusinessObjects: Request failed (BadRequest): An exception occurred. when trying to use BOBJ universe as source

    I have been able to successfully connect to our BOE environment and to one of our universes.  I keep getting the following error.  When editing the query, as I expand and collapse various dimensions / measures, I will see data at one point and
    then as I expand/collapse various combinations of data I get this error.  I can't figure out the underlying issue that causes this error to appear and disappear.  Help!
    DataSource.Error: SapBusinessObjects: Request failed (BadRequest): An exception occurred.
    Details:
        http://michgbo41d:6405/biprws/sl/v1/queries/6677718407783479088/...

    Hi,
    The generic error message you received was sent back from the service. We'll need more information about your specific query to investigate the problem. Would you be able to report the issue through Power Query's "Send Feedback > Send a Frown" button?
    If so, please make sure to also include the information you have here along with the email.
    Thanks!
    Tristan

  • HELP, Keep getting CMOS Checksum Bad message...

     I had made a change in bios that i guess i should'nt have, i disabled internal VGA graphics or some crap, next thing i know the computer stopped sending a signal to the monitor, so then i used the reset system config method by changing some jumpers oh by the way i have a K9N2G NEO motherboard, anyway long story short i keep getting a CMOS checksum bad message, i can load windows by pressing f2 where it says load defaults, but then when i try to open anything besides windows explorer, and internet explorer, i see the hourglass for a second and then nothing else happens i dont know what to do at allll

    Hello!
    Please list your components. Include the PSU.
    CMOS... message is quite normal if you cleared properly. However, I would like you to do it yet again. This time pull the power cable before entering the system. Use the manual for guidance, to find the correct jumper. - Yes, I know it feels like cheating to use the manual, but it can save time. 
    The hourglass is a different story. We might cut that story short with the clearing of CMOS.
    After clearing CMOS you have to enter date, time, what you boot from, and possibly the speed out from the processor. Until we know what processor and memory you got we can't say very much there.

  • Rest API v1 Getting Error 400 bad Request

    Hi,
    we have a very strange problem. We are using a custom JAVA WebDynpro UI for doing our approval workflows, and are making an upgrade from NW Version 7.0 to 7.31 (finally ). We have upgraded the DEV System without any troubles everything works fine with NW 7.31.
    In the PROD IDM we have this scenario:
    We have a Sandbox NW UI that was now upgraded to 7.31 and the PROD UI which still runs on 7.0. Both UIs have the PROD IDM DB linked.
    There are several approval steps with a custom Request Object in our workflows.
    Some approval steps work without any problems with the 7.31 UI, but in some steps we geht the Error 400 bad request from the REST Interface.
    When I approve the same approval with the 7.0 UI it works fine. We also debugged the REST Call, which is sent to the rest service and can't find any differences, it looks like this:
    http://<hostsbx>/idmrest/v72alpha/approvals/1568881/entries/545283/tasks/101870?APPROVED=TRUE which does not work
    and
    http://<hostprd>/idmrest/v72alpha/approvals/1568881/entries/545283/tasks/101870?APPROVED=TRUE which does work
    There are other tasks which work with both UIs.
    What else could we check?
    BR,
    Andreas

    Hi,
    thanks we also made the changes described in the note, which works on DEV fine.
    It is strange that one approval task works and the other not, so I think the problem might not be in the NW Configuration?
    BR,
    Andreas

  • Getting "HTTP 400 Bad Request" error when submitting form

    I am using APEX 3.1.2. I have a form based on a table. The form contains check boxes, a multiple select item, some text items and some text boxes with HTML editors. It had been working properly but now is giving me the dreaded "The web page can not be found..." error page as soon as I click create when in create mode or the update or the delete button when editing a row of data. The URL in the address area of the browser is: "http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/wwv_flow.accept" and the tab says "HTTP 400 Bad Request".
    Any help would be greatly appreciated!

    Do you have any extra Javascript components added in? We've been doing work with ExtJS and Oracle Apex, and I've noticed that on one particular page there is a bad request thrown when a doSubmit() is called. When the Javascript is commented out, the page works fine.

  • Ipad - I keep getting the message 'your request could not be completed'

    I can't seem to download any apps from the apps store and I get the message your request cannot be completed. Any ideas?

    Hbauer60 wrote:
    ...  How do I get around this?
    You cannot.
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I keep getting "error 404 the requested URL was not found on the server. Thats all we know" message. Any idea how I can fix?

    I have tried to reset firefox and I have attempted to disable all my extensions, but keep getting this error message half the time i try to click on a new link. Any help?? Thanks!!

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • I keep getting 'unable to find requested server' while trying to go on internet

    I bought the Blackberry curve last week and have had pblms connecting to home wi fi.  I have it all set up and the fone recognises the wi fi on it and only let me connect once to the wi fi. After that it keeps coming up with the message - unable to find requested server - even though it did work once the first time after I had set up the wi fi wizard.  I had put in the key.  Can someone help please.

    Hi gerrybl,
    Welcome to the Suppport Forums!
    Can you provide more information please?
    Do you have a data plan with your wireless provider that includes internet browsing?
    Are you able to complete all the steps in this blog post to connect to Wi-Fi? http://bbry.lv/oXh7oV
    Are you able to connect to any other Wi-Fi networks or Hotspots?
    Thanks,
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Bluetooth keyboard pairing repeated requests after mavericks update dec 20? ogitech MX5500 eventually connected but I keep getting repeated bluetooth pairing requests and it is driving me mad! Please Help! Anyone else suffering this?

    This just started after Maverick update installed Dec 20.frustrated and annoyed that apple would release an update that makes apple users lifes such a misery . Anyone else suffering same problems. I can switch bluetooth off that  makes using multiple screens difficult which is why I bought this $ 2800 top spec Mac retina 15 inch pro in the first place. I'm using Logitech MX5500 keyboard. Logitech MX1000 mouse works fine
    Any suggestions or solutions much appreciated and hopefully apple gets their act together..

    I am having this same issue - where I work, we use bluetooth trackpads. If my boss tries to connect his wireless bluetooth keyboard to his computer, I get the request on my machine every single time. The "Bluetooth Troubleshooting" article does not address any part of blocking requests, bluetooth security settings, or anything related to this issue at all, really. I do not believe there is currently any fix or setting that CAN resolve either of our problems, but I'm hoping that posting this at least puts the issue out there for hopefully somebody who can address this issue to see.

  • I get "Error 400 Bad Request" when playing wwdc 2005 keynote

    I can play other videos and see movie trailers, but for some reason, I can't get the 2005 wwdc keynote to play. Any tips?

    Your network may be blocking the UDP port that QuickTime streaming uses by default. Go to the streaming/transport preferences in the QuickTime preferences (can't tell you exactly where since you don't post what version of QT you're using) and change the setting to stream on HTTP port 80 and try again.
    Hope this helps.

  • WHY DO I GET THIS MESSAGE: "Bad request Your browser sent a query this server could not understand. "?

    it happens especially when I try to load video at Bloomberg.com

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/Cookies#Removing_cookies
    * http://kb.mozillazine.org/Clearing_the_cache

  • I've been using Firefox for about 8 months and all of a sudden, last night, I can't bring up Gmail. I get a message "Bad Request error 400". I'm not having this problem on my other laptop.

    This problem only exists on 1 laptop, not the other. Nothing has changed. I have run my Norton Security and checked for any viruses. Nothing showed up.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

Maybe you are looking for

  • Mail has wrong path for Save

    I am using v. 7.1 of Mail under OS X 10.9.1. When I attempt to save an email to my Documents folder I get an error message: Could not save to path /Users/bob/~/~/~/~/~/~/~/~/~/~/Documents/Payment submitted.rtf. Choose a different path. Clearly Mail h

  • How to remove MusicApps folder?

    Hi,   I have a Nokia 5800 Xpress music phone.I had installed the touch guitar application previously which created a folder called 'MusicApps' in my menu. Now after uninstalling  the application folder is still there. Is there any way i can remove it

  • Nemozem si nainstalovat windiws media player pre firefox

    HI,I use Firefox and I can not install windows media player in your browser,you ny advice please ,forgive me my language I am slovak man,thanks,babuch

  • Help Me!!!!! How Do I Put Movies O

    I [color="#3366ff">[color="#000000"]have a 30 GB Zen Vision M mp3 player and i have [color="#ff0000"]no idea how to [color="#ff0000"]download videos in?a way to be able to put them on my player... [size="+2"]I want to watch movies, dvds, music videos

  • Show and Share sns-svr-c200wg-k9

    Hi; We are configuring a Show and Share Workgroup server  (part number sns-svr-c200wg-k9) for one of our customers, but I have one concern with this box.  The server ONLY comes with a single 2TB drive, and does not seem to have any options for RAID c