cancel
Showing results for 
Search instead for 
Did you mean: 
souradip_dutta
Occasional Member - Level 1

Not able to connect Concur APIs

Hi,

 

I am exploring SAP Concur APIs in Test Instance.  Using ClientID, ClientSecret and my User credentials I am able to generate access_token. I tried 1st api call profile/v1/me and it was successful. Then I tried making other api calls like '/travelrequest/v4/requests?view="ALL"&limit=10&start=0', '/profile/identity/v4/Users' all failed got error 401 unauthorized or 403 UserIsNotAllowed. Though I have highest level of permission for Request and Expenses in SAP Concur.

 

Please suggest me what can be possible reasons for this failures.

 

Thank You,

Souradip Dutta

1 Solution
Solution
Andras
SAP Concur Employee
SAP Concur Employee

Hi @souradip_dutta , as a part of ICS, I did not hear about Bear token... looks like this something  Web Services related. Can you please try to generate a new token or try to use request token?

 

In case it did not help, I would recommend opening support case for Web Services Team.

 

Let me know about the results.


Best wishes,

Andras
SAP Concur

Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.

View solution in original post

5 REPLIES 5
Andras
SAP Concur Employee
SAP Concur Employee

Hi @souradip_dutta 

 

Please check the attached screenshot. These are the common errors and their meaning.

Andras_0-1729245400069.png

Do I understand correctly that you are using web services? 


Best wishes,

Andras
SAP Concur

Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.

crystalreports
Routine Member - Level 1
souradip_dutta
Occasional Member - Level 1

@Andras Yes, I am using Web services and I was using Bearer token.

As I understand Bearer token can be used to connect v1-v3 apis. I will need Company JWT token to connect v4 apis. 

 

But using a valid Bearer token I tried calling "https://us2.api.concursolutions.com/api/v3.0/expense/reports"

Still I am getting 403 forbidden error.

souradip_dutta_0-1729282399571.png

 

Solution
Andras
SAP Concur Employee
SAP Concur Employee

Hi @souradip_dutta , as a part of ICS, I did not hear about Bear token... looks like this something  Web Services related. Can you please try to generate a new token or try to use request token?

 

In case it did not help, I would recommend opening support case for Web Services Team.

 

Let me know about the results.


Best wishes,

Andras
SAP Concur

Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.

souradip_dutta
Occasional Member - Level 1

We have raised a support case with Web Service team. Thank You.