Things that you can check when getting an error message like this:
- Do you have a working internet connection?
- Can the webserver access that host specified in the error message (api.wpml.org) via http (you may want to check this with your web server administrator or host provider.
- If your server has problems resolving the api.wpml.org name you can try adding this entry to your hosts file: 126.96.36.199 api.wpml.org
All of the above applied if the domain name is api.wp-types.com (IP address for hosts file: 188.8.131.52)