Tweet from Unity app(using Fabric, Twitter component) respond Status 500

android
unity
cards

#1

Hi,
Tweet from AppCard Composer in Unity App I made (Android, using Fabric twitter component) respond Status 500.
What is wrong ?

I requested AppCard permission, and I receive reply ‘対象のアプリでアプリカード作成ツールを使用できるようになりました。’(means App can use AppCard Composer).
Tweet from Unity App responded Status 403 before requesting permission, but it responded Status 500 after the permission accepted.

Unity 5.5.1p1
Fabric 1.2.5
Twitter 2.0.3

Help !!!

Log is:
E/TweetUploadService: Post Tweet failed
com.twitter.sdk.android.core.TwitterApiException: HTTP request failed, Status: 500
at com.twitter.sdk.android.core.Callback.onResponse(Callback.java:42)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5271)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:851)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:667)
at dalvik.system.NativeStart.main(Native Method)


#2

Looks like we are experiencing an issue with the Cards endpoint. I will update the thread once issue is resolved.


#3

This issue has been resolved.


#4

yes, it doesnot respond Status 500, but it occurs other error.
why ?

Log:
06-26 12:27:03.035 9377-9377 E/Twitter: Unexpected response
java.lang.NullPointerException
at com.twitter.sdk.android.core.TwitterApiException.parseApiError(TwitterApiException.java:106)
at com.twitter.sdk.android.core.TwitterApiException.readApiError(TwitterApiException.java:93)
at com.twitter.sdk.android.core.TwitterApiException.(TwitterApiException.java:41)
at com.twitter.sdk.android.core.Callback.onResponse(Callback.java:42)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5271)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:851)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:667)
at dalvik.system.NativeStart.main(Native Method)
06-26 12:27:03.045 9377-9377 E/TweetUploadService: Post Tweet failed
com.twitter.sdk.android.core.TwitterApiException: HTTP request failed, Status: 400
at com.twitter.sdk.android.core.Callback.onResponse(Callback.java:42)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5271)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:851)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:667)
at dalvik.system.NativeStart.main(Native Method)


#5

Can you provide more details? Card info? Tweet Content?