querying posts with a custom status

The correct post_status for a ‘published’ post is ‘publish’:

'post_status' => 'publish',

error code: 523