谁能帮助我清除Uber API中发生的错误



在授权该应用程序python后,auth_url在获取URL

之后显示无效范围

auth_flow =授权codegrant(" ws4za7ksxidqdpxcznl2wc9l8nvl3ubt"," all_trips thrips thressive history history_lite history_lite ploces profile profile profile profile request request_receipt request_receipt ride_widgets"," qccwqvfydzsifwd86diyajebb-wg8kbuxo0mwinn"," http://127.0.0.0.1/")

http://127.0.0.1/?eror=invalid_scope&State=wd7Kekscocsuap219zzge18muoxv6bvs#_

您无法正确传递范围,您的范围列表在执行授权codegrant后看起来像关注:

scope = a l l t t i p s s s d e l i i v e y y y y y y i i s s s T O R Y H I S T O R Y Y L I T t e p l a a c e s s s p r o f i l e e r e q u e s s t t t e e q e e e s s t r e c e i p t i i d d e e w i d d g g t t s s& state = 0kfxqt7ctka4pbkbkbkbdaobpszrh8mf4pur&redirect_uri = http;%3A%2F%2F127.0.0.0.0.1%2F& wenspy_type = code& client_id = WS4ZA7KSXIDQDPXCZNL2WC9L2WC9L8NNVL3UBT

因此,您需要做类似的事情:

auth_flow =授权codegrant( 'xxx', {'alll_trips','thresevely','history','history_lite','ploce'''''','request','request_receipt','ride_widgets'}, 'xxx', 'http://localhost' )

最新更新