403 error while sending data from AWS lambda function ( Scripted REST )

Sonu
Tera Guru

I have a scripted REST API where in i need .to receive the data from AWS LAMBDA

using API explorer it works fine , however when lambda sends the data im unable to receive the data but on lambda side they are popped out the error "403 error"

 

not sure how i can fix the issue ?

 

I also tried to add the VPC range of the Ip address in white list to allow data. .ny help on this will be helpful. 

 

Note: I have exposed the API to the aws team to send me the data with credentials and with right permission , but i see them get.ting 403 error ( which is for permission related issue on the user). any thoughts on this ?

 

1 ACCEPTED SOLUTION

Sonu
Tera Guru

Thanks Richard for the quick reply , i already allowed the IP range of the VPC. which are part of the Lambda.. wil keep you posted, looks like there is a firewall blocking and figured it out with a proxy server in middle.

View solution in original post

2 REPLIES 2

Richard Hine
Tera Guru
Tera Guru

Sonu,

 

This could be several things, but I think the likely cause is your IP Access Control which will also give an HTTP 403.

Your IP range is easy to configure and should be in your IP Access Control list with a type of allow.

 

You could verify the credentials by accessing the API from an IP that is already whitelisted or by whitelisting your device temporarily and using postman to access the API, this would confirm the credentials are correct.

 

Other than that I would be checking the ACLs you have set against your REST endpoint and ensure the account using that endpoint has the appropriate permissions.

 

Hope this helps,

 

Richard

Sonu
Tera Guru

Thanks Richard for the quick reply , i already allowed the IP range of the VPC. which are part of the Lambda.. wil keep you posted, looks like there is a firewall blocking and figured it out with a proxy server in middle.