Image from camera failed to upload



Data ultimo post: 12 dic 2023

I used ZendeskSDKMessaging for live chat in iOS. When I try to take a photo from the camera and send it, it always failed to upload, but when I uploaded it from Image Picker, it uploaded normally.


1

5

5 commenti

      Hi Antonín,
       
      I’m going to pull this in to a private ticket so I can get some more details from you. You should see an email coming through from me shortly.
       
      Thanks,
       
      Tipene

      0


      Tipene Hughes Hello, are there any updates? We're experiencing the same issue described in the first message.

      0


      So sorry for the delay in getting back to you on this! I'm going to do some testing based on what you've provided and will get back to you with an update ASAP.
       
      Thanks,
       
      Tipene

      0


      Hay Tipene Hughes,
      Thanks alot for you reply,
      SDK version ZendeskSDKMessaging (2.15.0)
      SDK does not provide any logs about this error, but you can try sending the image from the camera, not from the gallery; it will get stuck loading, and at the end it will fail.

      And this is the request, which the SDK sends when attempting to send images.

      URL https://api.smooch.io/sdk/v2/apps/621b7f521fd7ae00ed3a4be6/conversations/6372d44ad3fcf0ed8515be4a/files
      Method POST
      Response Code -
      Request Start Time Dec 14 2023 - 10:27:49
      Duration -*** Request Header ***
      x-smooch-clientid clientid
      Accept application/json
      x-smooch-push disabled
      Content-Type multipart/form-data; boundary=Boundary+0F4EB72D3A54A59E
      x-smooch-appid appid
      Authorization Bearer token 
      x-smooch-sdk ios/conversation-kit/3.0.0
      x-smooch-appname appName
      Content-Length 16631823
      User-Agent Qawafel/1 (iPhone; iOS 16.7; Scale/3.0)*** Request Body ***
      -*** Response Header ***
      -*** Response Body ***
      -------------------------------------------------------------------------
      ------------------------------------------------------------------------
      ------------------------------------------------------------------------

      0


      Hey fares elsokary,

      Can you share any errors you might be seeing in the logs when the failure occurs. If you can also let me know the version of the SDK you're using, that'd be super helpful.

      Thanks!

      Tipene

      0


      Accedi per lasciare un commento.

      Non hai trovato quello che cerchi?

      Nuovo post