oData PUT not working on DEV environment

Dear mates,

I can not find why, on my development environment, my Put oData Call return me an permission error:

403 - Forbidden: Access is denied

You do not have permission to view this directory or page using the credentials that you supplied.

The rights are the same that on our production environment and it's working fine in production.

Does anybody have an idea to solve this issue please.

Thank you,

Nicolas

Like 0

Like

2 comments

Dear Nicolas, 

 

403 error means that you are not passing all needed authentication cookies and headers in the request. Please make sure that you are calling Auth service with correct credentials and that you use all necessary cookies and headers that you receive from the response(.ASPXAUTH, BPMCSRF): 

https://academy.creatio.com/documents/technic-sdk/7-16/authentication-external-requests

https://academy.creatio.com/documents/technic-sdk/7-16/executing-odata-queries-using-fiddler

 

Best regards, 

Dennis 

Thank you Denis,

 

You are right, so i will check my functions.

 

Have a nice day

Show all comments