API Error while trying to use a port_number: <redirect_uri>:<port>


I'm trying to access wrikeApi using oauth2client (python) library that automatically attach the *port* to the *redirect_uri*. https://github.com/google/oauth2client/blob/master/oauth2client/tools.py#L214


I'm getting the response

{"error":"invalid_request","error_description":"Redirect uri is missing or invalid"}

While trying to use a 

port=8080 or port=80

In my request. 

You can reproduce with 



I don't have the error message as soon as I remove de port_number, so I assume that *port_number* is not handle as I expected by the API?


Can you tell me how to specify the port number ?




1 comentario
Spot On Innovative Approach Stellar Advice

Hi Harry! Could you please make sure first that the indicated 'redirect_uri' is saved in permitted URI's in your app settings (https://www.screencast.com/t/zB4b9oaCzC)? Port numbers should match.

Pavel M Community Team at Wrike Infórmate sobre las funciones y prácticas recomendadas de Wrike

Acciones de comentarios Permalink

Folllowing List for Post: API Error while trying to use a port_number: <redirect_uri>:<port>
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post