Simplest example throws `REQUEST_CLIENT_ERROR`
See original GitHub issueDescribe the bug
Simplest example throws REQUEST_CLIENT_ERROR
. Also happened when using https://github.com/Skillz4Killz/Discordeno-bot-template
To Reproduce Steps to reproduce the behavior:
- Go to https://repl.it/@amatiasq/discordeno-bug
- See error
Expected behavior I don’t know, I was exploring the tool. It should not crash
Screenshots
Additional context https://repl.it/@amatiasq/discordeno-bug
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How to handle errors with boto3? - Stack Overflow
Use the response contained within the exception. Here is an example: import boto3 from botocore.exceptions import ClientError try: iam ...
Read more >Best Practices for REST API Error Handling - Baeldung
The simplest way we handle errors is to respond with an appropriate status code. Here are some common response codes: 400 Bad Request...
Read more >Spring Web Client Exception Handling | by David - Medium
Below is a sample request with basic error handling: Java code sample of WebClient making a request using the retrieve method to an...
Read more >Error handling — Boto3 Docs 1.26.37 documentation
This is a general exception when an error response is provided by an AWS service to your Boto3 client's request. Additional client-side issues...
Read more >Known Response Types throw Exception with wrapped ...
The current implementation of Client generator will throw exceptions when the response code is not 2XX, even when the wrapResponses option is set...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@amatiasq The
token
you provided is actually a client secret. You want to obtain your bot token from here as the client secret is meant for OAuth2 only:Thanks @TTtie! that was the issue indeed! so that explains why the “token” was shorter, then.
So for future references check TTie’s response
I’m removing the application now.