Skip to main content
Solved

Authentification error in spite of correct credentials

  • September 11, 2023
  • 2 replies
  • 29 views

lgrie
Contributor
Forum|alt.badge.img+7
  • Contributor
  • 19 replies

Hello,

I am trying to execute an job in datastreaming via HttpCaller.

The message I get back is "HTTP/1.1 401" although I have my login data filled in.

I tried to use my usernmae and pw on the browser, it works fine.

Just the transformer tells me its not ok.

I tried the two possibilities mentioned here for users without a token :

https://community.safe.com/s/article/401-unauthorized-error-when-making-fme-server-requ

Doesn't work either way....

 

Maybe someone stumbled accross a similar problem and has a solution ?

 

 

Best answer by sanaeatsafe

Hi @lgrie​ ,

Are you using the token that is automatically created upon creating the data streaming webhook URL? (example in this tutorial)

If so, the token may need to be updated to have explicit permissions to any named connections (web or database) used in the workspace. This can be done from the Manage Tokens page, using the Connections drop-down menu to tick the "Access" box next to each connection used.

Does it the request work if you use the URL and token in the browser?

I'd also try testing another workspace, like austinApartments.fmw from the Samples folder, to make sure it is not an issue with the HTTPCaller configuration.

Let us know how it goes.

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.

2 replies

sanaeatsafe
Safer
Forum|alt.badge.img+8
  • Safer
  • 63 replies
  • Best Answer
  • September 12, 2023

Hi @lgrie​ ,

Are you using the token that is automatically created upon creating the data streaming webhook URL? (example in this tutorial)

If so, the token may need to be updated to have explicit permissions to any named connections (web or database) used in the workspace. This can be done from the Manage Tokens page, using the Connections drop-down menu to tick the "Access" box next to each connection used.

Does it the request work if you use the URL and token in the browser?

I'd also try testing another workspace, like austinApartments.fmw from the Samples folder, to make sure it is not an issue with the HTTPCaller configuration.

Let us know how it goes.


lgrie
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 19 replies
  • September 14, 2023

Hi @lgrie​ ,

Are you using the token that is automatically created upon creating the data streaming webhook URL? (example in this tutorial)

If so, the token may need to be updated to have explicit permissions to any named connections (web or database) used in the workspace. This can be done from the Manage Tokens page, using the Connections drop-down menu to tick the "Access" box next to each connection used.

Does it the request work if you use the URL and token in the browser?

I'd also try testing another workspace, like austinApartments.fmw from the Samples folder, to make sure it is not an issue with the HTTPCaller configuration.

Let us know how it goes.

Thanks, I had an issue with HTTPCaller config.