InstagramApiSharp
InstagramApiSharp copied to clipboard
UploadPhotoAsync error
Issue category
- [ ] Bug
- [ ] Question
Language
- [ ] C#
Usage
- [ ] Windows Form/Console app
Operating System
- [ ] Windows
Debug logs
If your issue has an debug log, post it here, unless remove this section!
Describe your issue
Unknown Server Error occurs when UploadPhotoAsync() is called.
Screenshots
If you have screenshots, you can post it here. unless remove this section!
Share your debug logs
Share your debug logs
I attach the log.
2022-09-19 오후 10:44:46: Response: POST https://i.instagram.com/rupload_igphoto/1436248179262333034342_0_1403273272 [OK] 2022-09-19 오후 10:44:46: Content: 2022-09-19 오후 10:44:46: {"upload_id":"1436248179262333034342","xsharing_nonces":{},"status":"ok"} 2022-09-19 오후 10:44:46: ---------------------------------------------------------------------------------------------------- 2022-09-19 오후 10:44:46: Request: POST https://i.instagram.com/api/v1/media/configure/ 2022-09-19 오후 10:44:46: Headers: 2022-09-19 오후 10:44:46: X-IG-App-Locale:["en_US"] 2022-09-19 오후 10:44:46: X-IG-Device-Locale:["en_US"] 2022-09-19 오후 10:44:46: X-IG-Mapped-Locale:["en_US"] 2022-09-19 오후 10:44:46: X-Pigeon-Session-Id:["5092e782-40af-45d6-b221-6c1385dd0765"] 2022-09-19 오후 10:44:46: X-Pigeon-Rawclienttime:["1663595087.062"] 2022-09-19 오후 10:44:46: X-IG-Connection-Speed:["-1kbps"] 2022-09-19 오후 10:44:46: X-IG-Bandwidth-Speed-KBPS:["1487.270"] 2022-09-19 오후 10:44:46: X-IG-Bandwidth-TotalBytes-B:["1425147"] 2022-09-19 오후 10:44:46: X-IG-Bandwidth-TotalTime-MS:["958"] 2022-09-19 오후 10:44:46: X-IG-App-Startup-Country:["US"] 2022-09-19 오후 10:44:46: X-Bloks-Version-Id:["15a1b1509e8dbb5fa808d33b1f023dbc98e6b10c6036f1bd444a5cab55c46974"] 2022-09-19 오후 10:44:46: X-Bloks-Is-Panorama-Enabled:["true"] 2022-09-19 오후 10:44:46: X-IG-WWW-Claim:["..."] 2022-09-19 오후 10:44:46: Authorization:["Bearer ..."] 2022-09-19 오후 10:44:46: X-Bloks-Is-Layout-RTL:["false"] 2022-09-19 오후 10:44:46: X-Bloks-Enable-RenderCore:["false"] 2022-09-19 오후 10:44:46: X-IG-Device-ID:["e78d8b2e-f84c-40e3-9d14-9bb53738385f"] 2022-09-19 오후 10:44:46: X-IG-Android-ID:["android-2ca03ecac352f81d"] 2022-09-19 오후 10:44:46: X-IG-Connection-Type:["WIFI"] 2022-09-19 오후 10:44:46: X-IG-Capabilities:["3brTvx0="] 2022-09-19 오후 10:44:46: X-IG-App-ID:["567067343352427"] 2022-09-19 오후 10:44:46: X-Tigon-Is-Retry:["False"] 2022-09-19 오후 10:44:46: User-Agent:["Instagram","180.0.0.31.119","Android","(26/8.0; 640dpi; 1440x2560; HTC; pmewl_00531; pmewl_00531; HTC 10; en_US; 279996068)"] 2022-09-19 오후 10:44:46: Accept-Language:["en-US"] 2022-09-19 오후 10:44:46: X-MID:["YyhxVwABAAE_hU1XSbXgEpaCQQ-g"] 2022-09-19 오후 10:44:46: Host:["i.instagram.com"] 2022-09-19 오후 10:44:46: X-FB-HTTP-Engine:["Liger"] 2022-09-19 오후 10:44:46: X-FB-CLIENT-IP:["True"] 2022-09-19 오후 10:44:46: X-FB-SERVER-CLUSTER:["True"] 2022-09-19 오후 10:44:46: retry_context:["{"num_step_auto_retry":0,"num_reupload":0,"num_step_manual_retry":0}"] 2022-09-19 오후 10:44:46: Connection:["Keep-Alive"] 2022-09-19 오후 10:44:46: Properties: { "signed_body": "SIGNATURE.{"date_time_digitalized":"2022:09:19+01:44:46","date_time_original":"2022:09:19+01:44:46","is_suggested_venue":"false","timezone_offset":"32400","media_folder":"Camera","source_type":"3","_uid":"55290174014","_uuid":"e78d8b2e-f84c-40e3-9d14-9bb53738385f","caption":"","upload_id":"1436248179262333034342","device":{"manufacturer":"HTC","model":"pmewl_00531","android_release":"8.0","android_version":"26"},"extra":{"source_width":0,"source_height":0}}" } 2022-09-19 오후 10:44:46: Content: 2022-09-19 오후 10:44:46: signed_body=SIGNATURE.{"date_time_digitalized":"2022:09:19+01:44:46","date_time_original":"2022:09:19+01:44:46","is_suggested_venue":"false","timezone_offset":"32400","media_folder":"Camera","source_type":"3","_uid":"55290174014","_uuid":"e78d8b2e-f84c-40e3-9d14-9bb53738385f","caption":"","upload_id":"1436248179262333034342","device":{"manufacturer":"HTC","model":"pmewl_00531","android_release":"8.0","android_version":"26"},"extra":{"source_width":0,"source_height":0}} 2022-09-19 오후 10:44:47: Response: POST https://i.instagram.com/api/v1/media/configure/ [InternalServerError] 2022-09-19 오후 10:44:47: Content: 2022-09-19 오후 10:44:47: {"message":"Unknown Server Error.","status":"fail"}
And one more question. How can I solve privacy problem? Don't you provide a privacy consent API? in the free version
2022-09-19 오후 11:17:43: Response: POST https://i.instagram.com/rupload_igphoto/113656951121667191903_0_-124881711 [BadRequest] 2022-09-19 오후 11:17:43: Content: 2022-09-19 오후 11:17:43: {"message":"checkpoint_required","checkpoint_url":"https://i.instagram.com/privacy/checks/?privacy_flow=1\u0026next=instagram://checkpoint/dismiss","lock":false,"flow_render_type":0,"status":"fail"}
I don't know what is this consent, if you have any test account, I can add the function for you(if possible), [email protected] if you want to share a test account.
Regards.
I am getting the same error whenever i try to upload a photo
Edit: Going from the 1.7.3 to 1.7.2 version it starts working again
I am getting the same error whenever i try to upload a photo
Edit: Going from the 1.7.3 to 1.7.2 version it starts working again
this worked for me as well after initially getting the same error
The same here, it works only in 1.7.2. Please reopen.
@ramtinak please reopen!