HTTP Error 500 when add an update (Invalid APP or Invalid Data) |
![]() ![]() |
HTTP Error 500 when add an update (Invalid APP or Invalid Data) |
| Ciro Anunciação |
Aug 7 2009, 11:13 AM
Post
#1
|
|
Group: Members Posts: 7 |
Hi,
I'm getting HTTP Error 500 when I try to add an update. I'm getting the following response error: { "error" : { "uri" : "http://social.yahooapis.com/v1/errors/500","lang": "en-US","description": "Internal Server Error","detail": "Error parsing request body(Invalid APP or Invalid Data)" }} I'm using the PHP SDK from Yahoo! Social API SDKs (http://developer.yahoo.com/social/sdk/#php), this SDK uses json son to insert the update and it looks like correct. {"updates":[{"collectionID":"**************************","collectionType":"guid","class":"app","source":"APP.********","type":"appActivity","suid":"appActivityGrudi-123422153","title":"Grudi publicado","description":"Teste do myGrudi","link":"http:\/\/www.mygrudi.com.br","pubDate":"1249671929"}]} Can someone help me on this? Thanks in advance. |
|
|
|
| Ciro Anunciação |
Aug 12 2009, 10:56 AM
Post
#2
|
|
Group: Members Posts: 7 |
Anybody here?
|
|
|
|
| Jonathan LeBlanc |
Aug 14 2009, 02:02 PM
Post
#3
|
|
Group: Yahoos Posts: 942 |
Do you have the "Updates" read/write scope set for your application?
- Jon |
|
|
|
| Ciro Anunciação |
Aug 17 2009, 05:26 AM
Post
#4
|
|
Group: Members Posts: 7 |
Do you have the "Updates" read/write scope set for your application? Yes I do. I've tried other APIs like Yahoo! Status( Read and Write fine) and Yahoo! Profiles (Just Read but fine). I'm only having problems with Yahoo! Updates to write a new update, using JSON or XML the response error is the same "Error parsing request body(Invalid APP or Invalid Data)". I can't figure out what's wrong. I think it's happening maybe because I'm using an Application registered as Client/Desktop. Could it be because of this? Thank you so much Jon. |
|
|
|
| Jonathan LeBlanc |
Aug 17 2009, 08:03 AM
Post
#5
|
|
Group: Yahoos Posts: 942 |
The desktop app might be the reason. Could you please post a code snippet where you are instantiating the Yahoo! OAuth session and then trying to post an update? I'll run it through a few test apps and see if I can narrow down a solution for you.
Jonathan LeBlanc Senior Software Engineer Yahoo! Developer Network Twitter: jcleblanc This post has been edited by Jon: Aug 17 2009, 08:03 AM |
|
|
|
![]() ![]() |