Add WP activity API specs
Fix WP activity API error handling