Problem with this page?

Participants:

Related Projects:

Showing all 7 posts

I'm trying to implement the /Profile/Update API, which requires POST.
Strangely enough ALL of my attempts end with "HTTP/1.1 500 Internal Server Error".
I verified that this API call works in the API Explorer.
Here is the API URL that I'm using and the headers I'm sending.

Any insights would be helpful.

http://www.geni.com/api/profile-34838408159/update

Array
(

   [http] => Array
       (
           [method] => POST
           [header] => Content-type: application/json

Accept: application/json

           [content] => {"about_me":"Yankee Dooble"}
       )

)

The "Accept: application/json" is part of the 'header' value.

My immediate thought is that about_me is a kind of read-only because it is a localized value, returning the about_me for your selected language, default en-US, i.e you have to specify which language you want to update the about_me on.

Something like:

"detail_strings" : {
 "en-US" : {
  "about_me" : "Yankee Doodle"
 },
 "no" : {
  "about_me" : "Hmmm"
 }
}

I will make a test, - my current SDK test program is for reading data. I want to cover all variants for that before writing.

I'm not seeing the 500 in our logs but I may still be able to track it down through the load balancer. I'll let you know.

Shmuel-Aharon Kam (Kahn / שמואל-אהרן קם (קאן would you try that again and post here immediately after, to help me locate the call in our logs?

I realized that I wasn't posting the auth header. So I added that back in. Still same 500 Error.

Showing all 7 posts

Create a free account or login to participate in this discussion