none
Custom Connector make changes to symbols RRS feed

  • Question

  • Hi all and wishes for a Happy New Year.

    I'm using a custom connector to delete records in an Azure Table and use shared access signature, but I'm facing a very strange problem  when I have a time value 00:00:00, custom connector replaces the colon : with %3A ?

    It's very strange and I couldn't find anything for help.

    Thanks in advance.




    Thursday, January 2, 2020 10:49 AM

All replies

  • Happy New Year!

    Could you elaborate on where/how you are passing this value? Like in the body, query string, etc.

    Tuesday, January 7, 2020 10:25 AM
    Moderator
  • Hi, 

    Thanks for coming back to me.

    I'm using the following shared access signature in the custom connector to take actions in the Azure table.

    https://mystorageaccount.table.core.windows.net/?sv=2019-02-02&ss=bfqt&srt=sco&sp=rwdlacup&se=2020-01-31T19:53:45Z&st=2020-01-01T11:53:45Z&spr=https&sig=KvsqwrqOsWmL4FTTYGIWDeCCtc1b%2B8%2BNAs74bmT%2F%2BAU%3D

    In the next request, I use as parameters the PartitionKey and the RowKey.

    Relationships/(PartitionKey='########-####-####-####-############',RowKey='########-####-####-####-############')

    When I tested the delete request, for example, I'm getting back as a response to the link below with the error

    [message TypeError: Failed to fetch]

    https://mystorageaccount.table.core.windows.net/Relationships/(PartitionKey='########-####-####-####-############',RowKey='########-####-####-####-############')?sv=2019-02-02&ss=bfqt&srt=sco&sp=rwdlacup&se=2020-01-31T19%3A53%3A45Z&st=2020-01-01T11%3A53%3A45Z&spr=https&sig=KvsqwrqOsWmL4FTTYGIWDeCCtc1b%252B8%252BNAs74bmT%252F%252BAU%253D

    On the link above we can notice two changes:

    • se=2020-01-31T19:53:45Z
    • se=2020-01-31T19%3A53%3A45Z

    ==========================

    • sig=KvsqwrqOsWmL4FTTYGIWDeCCtc1b%2B8%2BNAs74bmT%2F%2BAU%3D
    • sig=KvsqwrqOsWmL4FTTYGIWDeCCtc1b%252B8%252BNAs74bmT%252F%252BAU%253D


    Tuesday, January 7, 2020 10:59 AM