Skip to main content
Question

FeatureReader unable to connect to AGOL when using a user parameter to set the feature service

  • November 28, 2023
  • 2 replies
  • 26 views

Hi everyone,

 

I'm trying to set up a model that will allow the user to select from a list of feature services to read from. I've got a Choice user parameter set up but whenever I try to run the workspace I get this error:imageI'm very confused since the service connection is working just fine and the feature reader will read in normally when I directly reference a specific service. Help a noob out?

Thanks, Brian

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • November 28, 2023

The error message suggests to me that you're not passing credentials through correctly as its saying as user ''. I'd expect to see a user name in those single quotes


  • Author
  • November 28, 2023

The error message suggests to me that you're not passing credentials through correctly as its saying as user ''. I'd expect to see a user name in those single quotes

That's what I thought too, but if I replace the user parameter in the Feature Service field with an actual feature service then it works just fine. It seems like something in the process of interpreting the parameter is causing the reader to not pass credentials properly, like you said.