ninjarubberband
ninjarubberband

Reputation: 123

Logic Apps: HTTP request return error code '403'

I am using a HTTP action, to retrieve support tickets through the freshservice API. I use a HTTP action, with the parameters shown in the image (Except domain and key).

Though when I run it, i get the 403 error: { "code": "access_denied", "message": "You are not authorized to perform this action." }

Using the same URI and key, I've had no issues retrieving the tickets from powershell or postman. I also have the required freshservice permissions. freshservice support thinks it has something to do with logic apps.

I hope I've provided enough information. The setup is very simple, Reccurence trigger + HTTP action with default settings. I've managed to make http request to other APIs in the same project. State type is stateful.

Upvotes: 0

Views: 39

Answers (1)

10p
10p

Reputation: 6778

Instead of specifying the Authorization header, you can try selecting the respective advanced parameter

Advanced parameters

and using the Basic authentication type there:

Basic autentication type

Make sure that the URI and the Method (GET?) are correct.

Upvotes: 0

Related Questions