question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Images don't upload

See original GitHub issue

I’m trying to upload a PNG image via JDA, and can’t get it to work. Using a File to the .png on my desktop, reading the file to a byte[], both result in nothing happening at all. No errors in the log, the image never appears though.

Am I missing something? thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
Almighty-Alpacacommented, Jun 18, 2017

@MrPowerGamerBR You forgot to .queue(), sendFile() returns a RestAction.

1reaction
Almighty-Alpacacommented, Jun 18, 2017

I just mentioned it so nobody comes and blames that example to not work

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Wrong With a Computer When Your Pictures Won't ...
What is Wrong With a Computer When Your Pictures Won't Upload to a Site?. Many factors come into play when uploading photos to...
Read more >
How to Fix Google Photos Not Uploading - Alphr
Another fix for photos not uploading is clearing your app data and cache. To do this, follow these steps: Go to your phone's...
Read more >
How To Fix “Google Photos Not Uploading” On Android ...
Google Photos not uploading may not be caused by your network connection. Inappropriate backup settings may cause Google Photos not to upload.
Read more >
I can't upload photos on Facebook | Facebook Help Center
Try uploading the original photo instead of an edited version. Check the size of the photo. We recommend uploading photos under 15MB.
Read more >
Google Drive: What to Do When You Can't Upload Images
It can be frustrating when you can't upload your images to Google Drive. Try these useful methods to fix the problem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found