Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Bad Request: failed to get HTTP URL content" #10

Open
tuscen opened this issue Jul 17, 2020 · 2 comments
Open

Add "Bad Request: failed to get HTTP URL content" #10

tuscen opened this issue Jul 17, 2020 · 2 comments

Comments

@tuscen
Copy link
Member

tuscen commented Jul 17, 2020

HTTP code: 400
Error message: Bad Request: failed to get HTTP URL content

I got it when tried to send sendMediaGroup with a link to github.com/foo.jpg.

@JonahTzuChi
Copy link

JonahTzuChi commented Apr 26, 2023

HTTP code: 400 Error message: Bad Request: failed to get HTTP URL content

I got it when tried to send sendMediaGroup with a link to github.com/foo.jpg.

I got into this issue and what I did was I set up a page for my repo then access my file through URL format below
https://{your-github-account}.github.io/{your-repo}/{directory}/{filename}

to set up a page
At your repo -> Settings -> Pages -> Build and deployment

I suppose you had figure it out already, but might be beneficial for others.

@tuscen
Copy link
Member Author

tuscen commented Apr 26, 2023

This is an informational issue for our team to not forget to implement a particular error from the Bot API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants