The remote server returned an error: (400) Bad Request

Answered The remote server returned an error: (400) Bad Request

  • Thursday, July 03, 2008 9:59 PM
     
     
     I am attempting to implement this example:

    http://msdn.microsoft.com/en-us/library/cc512426.aspx

    here is my request:

    <s:Authority xmlns:s='http://schemas.microsoft.com/sitka/2008/03/'>  
        <s:Id>CreateAuthorityTest01</s:Id> 
    </s:Authority> 
     

    And getting simply: {"The remote server returned an error: (400) Bad Request."}

    Has anyone else tried the sample listed above?

    Thanks,

All Replies

  • Thursday, July 03, 2008 11:49 PM
     
     Answered
    RogerG:

    This is from page 14 of the PDF docs (CloudDBExternalSvc.pdf) I have:

    Note When creating an authority, the AuthorityId must contain only lowercase letters, numbers or dashes.

    In your example, using lowercase for all letters should do the trick.

    MikeA

    Mike Amundsen [http://amundsen.com/blog/]
    • Marked As Answer by RogerG Thursday, July 03, 2008 11:51 PM
    •  
  • Thursday, July 03, 2008 11:51 PM
     
     
    Ahrrggg... busted, I did not read word for word.

    Thanks!
  • Friday, July 04, 2008 12:44 AM
    Moderator
     
     
    Just to add further clarification, The reason for this is because when you create an Authority, we provision a DNS name. So if I were to create an Authority named ssdsrocks, the service would provision a DNS name of ssdsrocks.data.beta.mssds.com.

    HTH,
    Dave