I recently added a feature to our company application to allow users to create fresh service tickets through a web page. I use my API key in the request and when testing I was testing as myself and creating tickets locally on my development environment and they were successfully appearing in our fresh service inbox. On production I used the same api key for the following endpoint /api/v2/tickets and I get the following error.
Log error: {"code":"access_denied","message":"You are not authorized to perform this action."} it also logs the same error when other users are trying to create a ticket.
Just wondering if there is a feature that can be turned on to make this work. OR If I need to be using a different API key or a different plan to allow other users to create tickets from within our application.
Log error: {"code":"access_denied","message":"You are not authorized to perform this action."}
Hi James,
Could you please try using the API using the API key of your Production account? If the issue persists, please write to support@freshservice.com so we can take a look.
We will need additional information from your end including the callback URL, JSON payload and the method using which the API key is being passed to further investigate this issue.
Regards,
Sanofar
Team Freshservice
Reply
Sign in to the Community
No account yet? Create an account.
Social Login
Login for Freshworks Employees Login with LinkedInor sign up below
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.