Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Changing the maximum URL length for the development storage emulator

Answered Changing the maximum URL length for the development storage emulator

  • vendredi 23 mars 2012 03:33
     
     

    I'm making a request to the local storage which is over 300 characters in length.   (Pretend this request is over 300 characters)

    http://127.0.0.1:10002/devstoreaccount1/MyTableName(PartitionKey='MyReallyLongPartitionKey',RowKey='MyReallyLongRowKey')

    I receive the following error message:

    Bad Request - Invalid URL


    HTTP Error 400. The request URL is invalid.

    Now, if I shorten the keys for a total length of 300 for the URL, I receive the ResourceNotFound error, which is fine, of course, as there is no such entity.

    Obviously, it's allowable to have valid PartitionKeys and RowKeys queries exceeding the length of 300.

    Is there any way to change the maximum URL length that the development storage emulator will accept?   

Toutes les réponses