As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
A collection is created on kinvey for the kinvey entity but not the facebook entity. Here's the stack trace
04-22 02:04:58.328: W/System.err(12266): at com.google.api.client.util.IOUtils.copy(IOUtils.java:94)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.util.IOUtils.copy(IOUtils.java:63)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.http.HttpResponse.parseAsString(HttpResponse.java:515)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.http.HttpResponseException$Builder.(HttpResponseException.java:175)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.http.HttpResponseException.(HttpResponseException.java:68)
04-22 02:04:58.330: W/System.err(12266): at com.kinvey.java.core.KinveyJsonResponseException.(KinveyJsonResponseException.java:47)
04-22 02:04:58.330: W/System.err(12266): at com.kinvey.java.core.KinveyJsonResponseException.from(KinveyJsonResponseException.java:87)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:70)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:28)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:345)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:297)
04-22 02:04:58.332: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:370)
04-22 02:04:58.332: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.offlineFromService(AbstractKinveyOfflineClientRequest.java:129)
04-22 02:04:58.333: W/System.err(12266): at com.kinvey.java.offline.OfflinePolicy$1.execute(OfflinePolicy.java:42)
04-22 02:04:58.334: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.execute(AbstractKinveyOfflineClientRequest.java:155)
04-22 02:04:58.334: W/System.err(12266): at com.kinvey.android.AsyncAppData$SaveRequest.executeAsync(AsyncAppData.java:623)
04-22 02:04:58.334: W/System.err(12266): at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)
04-22 02:04:58.335: W/System.err(12266): at android.os.AsyncTask$2.call(AsyncTask.java:288)
04-22 02:04:58.336: W/System.err(12266): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-22 02:04:58.336: W/System.err(12266): at com.kinvey.android.AsyncClientRequest$KinveySerialExecutor$1.run(AsyncClientRequest.java:145)
04-22 02:04:58.336: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-22 02:04:58.337: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-22 02:04:58.338: W/System.err(12266): at java.lang.Thread.run(Thread.java:841)
04-22 02:04:58.340: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:70)
04-22 02:04:58.341: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:28)
04-22 02:04:58.341: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:345)
04-22 02:04:58.341: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:297)
04-22 02:04:58.342: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:370)
04-22 02:04:58.342: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.offlineFromService(AbstractKinveyOfflineClientRequest.java:129)
04-22 02:04:58.343: W/System.err(12266): at com.kinvey.java.offline.OfflinePolicy$1.execute(OfflinePolicy.java:42)
04-22 02:04:58.343: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.execute(AbstractKinveyOfflineClientRequest.java:155)
04-22 02:04:58.343: W/System.err(12266): at com.kinvey.android.AsyncAppData$SaveRequest.executeAsync(AsyncAppData.java:623)
04-22 02:04:58.344: W/System.err(12266): at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)
04-22 02:04:58.344: W/System.err(12266): at android.os.AsyncTask$2.call(AsyncTask.java:288)
04-22 02:04:58.345: W/System.err(12266): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-22 02:04:58.345: W/System.err(12266): at com.kinvey.android.AsyncClientRequest$KinveySerialExecutor$1.run(AsyncClientRequest.java:145)
04-22 02:04:58.346: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-22 02:04:58.346: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-22 02:04:58.346: W/System.err(12266): at java.lang.Thread.run(Thread.java:841)
04-22 02:04:58.348: E/facebook(12266): Failed to post to OpenGraph
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:70)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:28)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:345)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:297)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:370)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.offlineFromService(AbstractKinveyOfflineClientRequest.java:129)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.offline.OfflinePolicy$1.execute(OfflinePolicy.java:42)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.execute(AbstractKinveyOfflineClientRequest.java:155)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.android.AsyncAppData$SaveRequest.executeAsync(AsyncAppData.java:623)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)
04-22 02:04:58.348: E/facebook(12266): at android.os.AsyncTask$2.call(AsyncTask.java:288)
04-22 02:04:58.348: E/facebook(12266): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.android.AsyncClientRequest$KinveySerialExecutor$1.run(AsyncClientRequest.java:145)
04-22 02:04:58.348: E/facebook(12266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-22 02:04:58.348: E/facebook(12266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-22 02:04:58.348: E/facebook(12266): at java.lang.Thread.run(Thread.java:841)
Log.i("facebook", "Save to OpenGraph Successful");
Toast.makeText(context, "Saved to OpenGraph", Toast.LENGTH_LONG).show();
}
@Override
public void onFailure(Throwable error) {
Log.e("facebook", "Failed to post to OpenGraph", error);
Toast.makeText(context, "Failed Saved to OpenGraph", Toast.LENGTH_LONG).show();
}
});
}
E
Edward
said
about 9 years ago
Can you take a look at our troubleshooting guide and enable debug logging? This will write the HTTP request and HTTP response to the logs, can you post those here? that might give me some insight into what's happening. The above error usually occurs because data is expected to be retrieved from your backend but nothing is coming back.
04-22 12:10:15.727: D/HttpTransport(5597): {"error":{"type":"Exception","message":"The action you're trying to publish is invalid because it does not specify any reference objects. At least one of the following properties must be specified: product.","code":1611072}}
a
adnaan
said
about 9 years ago
This is seen write before the stack trace. Let me know if you need older log outputs
E
Edward
said
about 9 years ago
Hey,
so those logs you posted contain two requests and two responses. Looking at the second response, it looks like the error is:
{"error":{"type":"Exception","message":"The action you're trying to publish is invalid because it does not specify any reference objects. At least one of the following properties must be specified: product.","code":1611072}}
So, it fails because it is expecting a property called `product`, but that isn't present
Looking at the request object, it looks like the post is:
So, I think the issue is that the post object defines `patadeali:products` although facebook is expecting `patadeali:product`. Can you double check your open graph configuraiton on the facebook end and make sure things are all aligned properly?
a
adnaan
said
about 9 years ago
Hi Edwards,
You were right. I had added a user story and tied it product instead on products. Now I' getting this error. Do I need to do anything special with the 'type' property. I passed it in as 'patadeali:products' to no avail? I really appreciate your help.
04-22 14:07:48.723: D/HttpTransport(15526): {"error":{"message":"(#3502) Object at URL http://baas.kinvey.com/rpc/kid_VV6bhk7MNq/patadeali:add/5356afe99c1129c03503c702/patadeali:products/_objView.html has og:type of 'website'. The property 'products' requires an object of og:type 'patadeali:products'. (http response code: 404)","type":"OAuthException","code":3502}}
a
adnaan
said
about 9 years ago
I'm also setting the _id value to the type: ogPush.setObjectType("patadeali:products");
a
adnaan
said
about 9 years ago
There's no entity created in the collection Products mapped to patadeali:products. Any thoughts?
Apologies for the numerous posts. I figured I only needed one "Products" collection. I'm still facing the type issue in the previous post. Please advice.
04-22 17:49:13.557: D/HttpTransport(4354): {"error":{"message":"(#3502) Object at URL http://baas.kinvey.com/rpc/kid_VV6bhk7MNq/patadeali:add/5356e298c3ff615f530411fe/patadeali:products/_objView.html has og:type of 'website'. The property 'products' requires an object of og:type 'patadeali:products'. ","type":"OAuthException","code":3502}}
a
adnaan
said
about 9 years ago
The error doesn't make sense. When I view the source of the webpage I see the correct type.
adnaan
04-22 02:04:58.328: W/System.err(12266): at com.google.api.client.util.IOUtils.copy(IOUtils.java:94)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.util.IOUtils.copy(IOUtils.java:63)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.http.HttpResponse.parseAsString(HttpResponse.java:515)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.http.HttpResponseException$Builder.(HttpResponseException.java:175)
04-22 02:04:58.329: W/System.err(12266): at com.google.api.client.http.HttpResponseException.(HttpResponseException.java:68)
04-22 02:04:58.330: W/System.err(12266): at com.kinvey.java.core.KinveyJsonResponseException.(KinveyJsonResponseException.java:47)
04-22 02:04:58.330: W/System.err(12266): at com.kinvey.java.core.KinveyJsonResponseException.from(KinveyJsonResponseException.java:87)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:70)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:28)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:345)
04-22 02:04:58.331: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:297)
04-22 02:04:58.332: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:370)
04-22 02:04:58.332: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.offlineFromService(AbstractKinveyOfflineClientRequest.java:129)
04-22 02:04:58.333: W/System.err(12266): at com.kinvey.java.offline.OfflinePolicy$1.execute(OfflinePolicy.java:42)
04-22 02:04:58.334: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.execute(AbstractKinveyOfflineClientRequest.java:155)
04-22 02:04:58.334: W/System.err(12266): at com.kinvey.android.AsyncAppData$SaveRequest.executeAsync(AsyncAppData.java:623)
04-22 02:04:58.334: W/System.err(12266): at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)
04-22 02:04:58.335: W/System.err(12266): at android.os.AsyncTask$2.call(AsyncTask.java:288)
04-22 02:04:58.336: W/System.err(12266): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-22 02:04:58.336: W/System.err(12266): at com.kinvey.android.AsyncClientRequest$KinveySerialExecutor$1.run(AsyncClientRequest.java:145)
04-22 02:04:58.336: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-22 02:04:58.337: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-22 02:04:58.338: W/System.err(12266): at java.lang.Thread.run(Thread.java:841)
04-22 02:04:58.339: W/System.err(12266): com.kinvey.java.core.KinveyJsonResponseException:
04-22 02:04:58.339: W/System.err(12266): null
04-22 02:04:58.340: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:70)
04-22 02:04:58.341: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:28)
04-22 02:04:58.341: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:345)
04-22 02:04:58.341: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:297)
04-22 02:04:58.342: W/System.err(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:370)
04-22 02:04:58.342: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.offlineFromService(AbstractKinveyOfflineClientRequest.java:129)
04-22 02:04:58.343: W/System.err(12266): at com.kinvey.java.offline.OfflinePolicy$1.execute(OfflinePolicy.java:42)
04-22 02:04:58.343: W/System.err(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.execute(AbstractKinveyOfflineClientRequest.java:155)
04-22 02:04:58.343: W/System.err(12266): at com.kinvey.android.AsyncAppData$SaveRequest.executeAsync(AsyncAppData.java:623)
04-22 02:04:58.344: W/System.err(12266): at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)
04-22 02:04:58.344: W/System.err(12266): at android.os.AsyncTask$2.call(AsyncTask.java:288)
04-22 02:04:58.345: W/System.err(12266): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-22 02:04:58.345: W/System.err(12266): at com.kinvey.android.AsyncClientRequest$KinveySerialExecutor$1.run(AsyncClientRequest.java:145)
04-22 02:04:58.346: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-22 02:04:58.346: W/System.err(12266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-22 02:04:58.346: W/System.err(12266): at java.lang.Thread.run(Thread.java:841)
04-22 02:04:58.348: E/facebook(12266): Failed to post to OpenGraph
04-22 02:04:58.348: E/facebook(12266): com.kinvey.java.core.KinveyJsonResponseException:
04-22 02:04:58.348: E/facebook(12266): null
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:70)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyJsonClientRequest.newExceptionOnError(AbstractKinveyJsonClientRequest.java:28)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:345)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.executeUnparsed(AbstractKinveyClientRequest.java:297)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:370)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.offlineFromService(AbstractKinveyOfflineClientRequest.java:129)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.offline.OfflinePolicy$1.execute(OfflinePolicy.java:42)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.java.offline.AbstractKinveyOfflineClientRequest.execute(AbstractKinveyOfflineClientRequest.java:155)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.android.AsyncAppData$SaveRequest.executeAsync(AsyncAppData.java:623)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)
04-22 02:04:58.348: E/facebook(12266): at android.os.AsyncTask$2.call(AsyncTask.java:288)
04-22 02:04:58.348: E/facebook(12266): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-22 02:04:58.348: E/facebook(12266): at com.kinvey.android.AsyncClientRequest$KinveySerialExecutor$1.run(AsyncClientRequest.java:145)
04-22 02:04:58.348: E/facebook(12266): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-22 02:04:58.348: E/facebook(12266): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-22 02:04:58.348: E/facebook(12266): at java.lang.Thread.run(Thread.java:841)