Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

Use UploadPhoto : Unknown Server Error. #248

Open
dlgchg opened this issue Jun 13, 2019 · 3 comments
Open

Use UploadPhoto : Unknown Server Error. #248

dlgchg opened this issue Jun 13, 2019 · 3 comments
Labels

Comments

@dlgchg
Copy link

dlgchg commented Jun 13, 2019

I have successfully logged in,I can do follow。
every use UploadPhoto ,
log error info:
Unknown Server Error.

func UploadPhoto(inst *goinsta.Instagram, imageFile string) {
	file, _ := os.Open(imageFile)
	log.Println(imageFile)
	_, err := inst.UploadPhoto(file, "", 0, 0)
	errutil.CheckErr(err)
}
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.63. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug label Jun 13, 2019
@giomanni
Copy link

@dlgchg What type of image are you using? I had the same error with a png, but a jpg worked.

@linwenming
Copy link

@dlgchg What type of image are you using? I had the same error with a png, but a jpg worked.

The picture I tested was 1080x1800 jpg, and upload was successful. Wrong "Unknown Server Error" in the media/configure step

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

No branches or pull requests

3 participants