Skip to main content
Solved

I get an error when trying a specific API-request to get all the automations with a schedule: https://fme....../fmerest/v3/schedules?includeAutomations=true&limit=-1&offset=-1


stefanh
Contributor
Forum|alt.badge.img+8

The error is 'Unauthorized request by user due to lack of proper permissions'

All other API-request seems to work fine.

I checked all the permissions, and i have all permissions.

 

Anyone an idea why this is not working.

 

Screenshot

FMEServer Rest API V3 - automations schedule 

Using FME Server build 20787)

 

 

Best answer by hollyatsafe

Hi @stefanh​ ,

 

It looks like this option is currently only available to the fmesuperuser role. When your user belongs to this role, in the FME Server Web UI on the Schedules page you'll see a button 'Show Automations' which is the equivalent to making this API call.

 

Screen Shot 2021-01-13 at 10.00.55 AM 

If you'd like to give other users permissions to list Automations containing a schedule alongside Schedules I'd suggest filing an idea to request this enhancement, allowing you to retrieve the Automations that your user has access to.

View original
Did this help you find an answer to your question?

2 replies

Forum|alt.badge.img+2
  • Best Answer
  • January 13, 2021

Hi @stefanh​ ,

 

It looks like this option is currently only available to the fmesuperuser role. When your user belongs to this role, in the FME Server Web UI on the Schedules page you'll see a button 'Show Automations' which is the equivalent to making this API call.

 

Screen Shot 2021-01-13 at 10.00.55 AM 

If you'd like to give other users permissions to list Automations containing a schedule alongside Schedules I'd suggest filing an idea to request this enhancement, allowing you to retrieve the Automations that your user has access to.


stefanh
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 14, 2021

Thanks for the answer; this was the problem.

I have added an idea.

https://community.safe.com/s/idea/0874Q000000j0QaQAI/detail

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings