Skip to main content

Hi there,

I can generate Token from FME Server2017 using C#, tested with postman, see attached image, but when I try to use same method from FME Server2016, it gives me error: Both user ID and password need to be specified for viewing/generating token. So what's the correct way to generate Token in FME Server2016.1 using postman or C#. Thank you very much.

This is how I do it on all versions:

http://fmeserver/fmetoken/generate?user=usr&password;=pwd&expiration;=1&timeunit;=day

Just tested on 2015.1 and 2017.1.

I don't have a 2016 at hand to test right now.

Using a form post does not seem to work on 2015.1, I have the same error message as you have.


This is how I do it on all versions:

http://fmeserver/fmetoken/generate?user=usr&password;=pwd&expiration;=1&timeunit;=day

Just tested on 2015.1 and 2017.1.

I don't have a 2016 at hand to test right now.

Using a form post does not seem to work on 2015.1, I have the same error message as you have.

I can confirm this works in server 2016.

resolve this issue, above "GET"method works, "POST" also works when specify body to x-www-form-urlencoded


Reply