Skip to main content

Hi,

 

I have tried to follow the suggestions in this thread to connect to Mapillary API without success.

https://community.safe.com/s/question/0D54Q00008vZLePSAW/hi-have-anybody-succeeded-in-connecting-the-mapillary-api-v4-with-fme-workbench-i-get-stuck-on-an-internal-server-error-when-i-use-httpslocalhost-as-redirect-url-in-the-oauth-20-webservice-authentification

 

I am using these settings:

mapillary_settingsI am just getting a login page when I test the service:

Mapillary2 

Any suggestions? The result is the same with http://localhost and https://localhost. It is the same when adding Authorization under HTTP Header for Retrieve Token Parameters.

 

Anyone got any suggestions on how to connect to the API and for example get coverage tiles.

@leif​ Hi there, thanks for your question. This login page is expected when you test your web service definition out. Have you tried entering in your Mapillary login credentials and allowing FME to access your Mapillary account?

 

Just a note here, the redirect URI should be https://localhost/, and this should also be the redirect URI that you specified when you registered FME as an authorized app from within your Mapillary account space.


@leif​ Hi there, thanks for your question. This login page is expected when you test your web service definition out. Have you tried entering in your Mapillary login credentials and allowing FME to access your Mapillary account?

 

Just a note here, the redirect URI should be https://localhost/, and this should also be the redirect URI that you specified when you registered FME as an authorized app from within your Mapillary account space.

Thank you for your response, @natalieatsafe​. When I enter my login credentials I get to click "Authorize". After that, the page disappears. Looking at the Mapillary API management site this action created a session, so it seems to have some sort of working connection. The problem now is that when I try to create the web connection, I can't. The disappearance of the "Authorize" page is the only thing that happens, and no new connection is created.

1)

web connection2) After clicking authorize

web connection2 

I would expect that default behavior would be that the authorize button is replaced by a save button or that the web connection is automatically saved when everything is correct?


@leif​ While creating the Web Connection, after you clicked "Authorize" on the Mapillary login, did you happen to see a Retrieving access token dialog flash on your screen? It would have been pretty quick, but it's the check for the access token. It looks like this:

 

AuthenticateWebConnection_AccessToken 

If this dialog didn't appear on your screen, there's an adjustment to the web service definition that you may need to make. I would suggest trying to create that web connection again, and then keeping an eye on your screen after you click "Authorize" on the Mapillary login. Let me know if you see the dialog flash on your screen.


@leif​ While creating the Web Connection, after you clicked "Authorize" on the Mapillary login, did you happen to see a Retrieving access token dialog flash on your screen? It would have been pretty quick, but it's the check for the access token. It looks like this:

 

AuthenticateWebConnection_AccessToken 

If this dialog didn't appear on your screen, there's an adjustment to the web service definition that you may need to make. I would suggest trying to create that web connection again, and then keeping an eye on your screen after you click "Authorize" on the Mapillary login. Let me know if you see the dialog flash on your screen.

After restarting everything and revoking access to get a fresh start, somehow everything worked and I could create my web connection. No idea what the problem was, but thank you!


Reply