rdohms / meetup-api-client

Guzzle powered Meetup.com API Client
MIT License
76 stars 24 forks source link

ClientErrorResponseException: Client error response #9

Closed glendmaatita closed 10 years ago

glendmaatita commented 10 years ago

it is strange. I have an application using this library to get data from method open_events. In my local computer, the library works properly. But when i deployed it in Openshift Cloud (Redhat), i got an error

ClientErrorResponseException: Client error response [status code] 400 [reason phrase] Bad Request [url] http://api.meetup.com/2/open_events?category=11%2C%2034&city=Medan&country=id&key=__MY_KEY__

have i missed something ?

rdohms commented 10 years ago

@glendmaatita That is indeed strange, I can't really spot anything with the url.

Could you give me some more information?

Do you know anything that stands out between your local environment and Openshift? Curl support, or things like that? encoding maybe? Its a shame the API does not respond with a better and clearer response.

If you can get me some sample code that i can write a test for, then i can try and figure out what is different.

rdohms commented 10 years ago

@glendmaatita I have run into these locally and it seems to be due to API throttling. Unfortunately the API responds with 400 and causes confusion.