Skip to main content
Solved

Deployment parameters in Flow 2024.1.1 app not working

  • March 20, 2025
  • 1 reply
  • 47 views

cbird
Participant
Forum|alt.badge.img+1

A simple workspace created in Workbench 2024.1.1 with three FME Flow deployment parameters - a web connection using Esri ArcGIS Portal (Template), a DB connection to PostgreSQL and a Text deployment parameter - works perfectly in Workbench as well as a manual or scheduled job once published to Flow.


An FME Flow app created from that workspace fails trying to access the Web and DB deployment parameters. The Text parameter works fine. The app fails whether or not authentication is required to run the app. The Web and DB connections and the associated deployment parameters have been shared with fmeuser and fmeguest roles with Read access to try to fix the problem - but that did not help.

Web connection error: 

2025-3-20 14:46:38 | FME Flow error: `FME Flow error: `Unauthorized request by user due to lack of proper permissions for connection: WEB_ARCGIS_PORTAL. Please see: http://fme.ly/zn8''

2025-3-20 14:29:41 | ArcGIS Portal Feature Service Reader: Connection 'WEB_ARCGIS_PORTAL' does not exist. Check connection parameter and connection definitions in FME options and try again

DB error:

2025-3-20 14:41:01 | FME Flow error: `FME Flow error: `Unauthorized request by user due to lack of proper permissions for connection: DB_PROJECT. Please see: http://fme.ly/zn8''

 

The Flow app works fine without deployment parameters, i.e. using the Web and DB connections directly.

Any ideas what is causing this problem?

Best answer by mattmatsafe

@cbird sounds like you’re on the right track. For unauthenticated access, you also need to grant the API Token that your Workspace App uses access to the connections and deployment parameter. https://docs.safe.com/fme/html/FME-Flow/WebUI/Manage-Token.htm

For authenticated access, the user’s role (or user directly) needs to have access to the items. 

I hope this helps. If you’ve done that and it’s still failing, I suggest submitting a case: https://support.safe.com/hc/en-us/p/Support

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

mattmatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 108 replies
  • Best Answer
  • March 21, 2025

@cbird sounds like you’re on the right track. For unauthenticated access, you also need to grant the API Token that your Workspace App uses access to the connections and deployment parameter. https://docs.safe.com/fme/html/FME-Flow/WebUI/Manage-Token.htm

For authenticated access, the user’s role (or user directly) needs to have access to the items. 

I hope this helps. If you’ve done that and it’s still failing, I suggest submitting a case: https://support.safe.com/hc/en-us/p/Support