cancel
Showing results for 
Search instead for 
Did you mean: 

SAS Token Issue using ABAP SDK for Azure

srikanthnalluri
Active Participant
0 Kudos

Hi All,

I am using ABAP SDK code to get the SAS token and trying to test this token from POSTMAN to get the data from service bus. However i have been getting an error "HTTP/1.1 401 SubCode=40103: Invalid authorization token signature"

Can you please help me to understand where i am doing a mistake.

I have configured the SM59(Pls check SM59 screen shot).sm59.png

We're try the path with extension in the postman to get the data. postman.png

Appreciate your help

Edit: The URL(SM59) it used to generate the token is different than the link it is accessing, could it be a problem. Because the code is using actual connecting URL to generate the token

Thanks !

Accepted Solutions (1)

Accepted Solutions (1)

srikanthnalluri
Active Participant
0 Kudos

This might help some one, who is trying to connect to Azure Service Bus to get data

1. We should use the secure key to generate the SAS key.

2. Use POST method to get the data.

Answers (1)

Answers (1)

pramod_p
Employee
Employee

Hi,

In the attached postman image, it shows a "Post" request and in your question, it is mentioned as " to get the data". If you want to get the data then you have to use the "Get" in postman.

Let me assume that you are using the right ways to call the resource, then this issue happens when you are getting token for one resource and trying to call another resource. In Azure we have different services and each service has it's own "resource" for issuing tokens. Please check whether you are using the right "resource" to get token while requesting.

Thanks and regards,

Pramod