mars885 / gamedge

An Android application for browsing video games and checking the latest gaming news from around the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not perform the request

Suburbanno opened this issue · comments

Thanks for reporting it.

I believe this has to do with a sudden expiration of the access token/keys that is not accounted for in the app.

As a temporary solution, could you clear the data of the app and try again?

working now

@Suburbanno How did you do?, When I clean the app data, it keeps closing

@Suburbanno How did you do?, When I clean the app data, it keeps closing

I did normally through the app's configuration, try to reinstall

Hello!

The issue has been back.
I have just installed the app using Android Studio ADB and the is closed with an error.
image

Network Interceptor output

2021-12-08 00:09:33.346 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: --> POST https://id.twitch.tv/oauth2/token?client_id=&client_secret=&grant_type=client_credentials
2021-12-08 00:09:33.346 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: Content-Length: 0
2021-12-08 00:09:33.346 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: --> END POST (0-byte body)
2021-12-08 00:09:34.479 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: <-- 400 https://id.twitch.tv/oauth2/token?client_id=&client_secret=&grant_type=client_credentials (1132ms)
2021-12-08 00:09:34.480 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: date: Tue, 07 Dec 2021 22:09:34 GMT
2021-12-08 00:09:34.480 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: content-type: application/json
2021-12-08 00:09:34.480 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: content-length: 45
2021-12-08 00:09:34.480 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: server: nginx/1.18.0
2021-12-08 00:09:34.480 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: access-control-allow-origin: *
2021-12-08 00:09:34.480 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: x-ctxlog-logid: 1-61afdb9e-4dbaa80315a351f905324832
2021-12-08 00:09:34.481 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: {"status":400,"message":"missing client id"}
2021-12-08 00:09:34.481 24105-24290/com.paulrybitskyi.gamedge I/okhttp.OkHttpClient: <-- END HTTP (45-byte body)

The API requires the client id. Where can I get it?

Thank you!

@oleksandr-dovhaliuk Hey. Have you checked the section called Development Setup in the readme? I believe you have not set up your keys.